-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows CUI (Console User Interface) with ported functionality from … #276
Open
trevorsandy
wants to merge
48
commits into
POV-Ray:master
Choose a base branch
from
trevorsandy:windows-cui
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ions; add autobuild scrpts
Any new behaviour formerly activated by `#version 3.71` now requires `#version 3.8` (or higher); specifying `#version 3.71` will trigger a corresponding warning. Also updated sample scenes and include files accordingly.
- When compiled in debug mode, a new statement `#breakpoint` is now available. Its sole purpose is to serve as a hook for a breakpoint, which can then be triggered anytime from the scene file. - When compiled in debug mode, POV-Ray for Windows will now make do with the release version of the editor DLLs if it can't find the debug version.
Replaced the various redundant representations of the version number as authoritative sources of information with a set of integers, each one corresponding to a single numerical field of the version number. Any other representations of the version number are now automatically derived from these (plus the prerelease tag, if applicable). Also added a mechanism that allows v3.8 binaries to run on top of a v3.7 host installation for now, so that we don't need any 3.8 installers yet. Note that this commit comes with an updated Git pre-commit hook; to install it, copy `pre-commit` from `tools/git/hooks/` to `.git/hooks/` in your local repository.
Ported from unix distro. Upgrade disp_sdl source to support SDL2 v2.0.5
Specifying `--generation` as a command-line parameter will cause POV-Ray for Unix to print its "generation" and beta status (if applicable) to standard output, then exit. For example, for v3.8.1 this would be `3.8`; for a beta version of that release, it would be `3.8-beta`.
When version is explicitly set to 3.8 or greater, either in the option or as the first statement of the scene, the default ambient finish is set to 0.0 (instead of 0.1 which is problematic with gamma handling rgb vs srgb)
- allow the center of the top sphere to not be on the top of the bottom sphere (via "distance xxx") - allow the radius of the torus spindle to be manually specified (via "radius xxx") - allow precision of the root solver to be tuned (via "precision xxx") - change of UV-Mapping to be similar to the uv-mapping of cone & cylinder
Spaces, single and double quoted arguments are tokenized on Windows frontend.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've taken some time to update the Windows CUI (Console) project. The image display window is now functional and the disp_sdl source has been updated to use SDL2 v2.0.5.
Update - Aug 13:
Note: 503 added files make up the SDL2 Windows and Unix (including MacOS) source. 8 new source files have been added to the windows-cui project.
TODO:
On MacOS, the current disp_sdl code (v1.2.15) does not launch the display window; however, execution seems to be without issue. The display window is created, it is just not persisted to the screen. In the next few days I'll see how v2.0.15 behaves as there are some new capabilities that may better support generating the display window on MacOS.This behaviour seems to be corrected with SDL2.Cheers,