Skip to content
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

The rendered image is not sharp as that in c-ray readme #107

Closed
zinwalin opened this issue Dec 27, 2021 · 4 comments
Closed

The rendered image is not sharp as that in c-ray readme #107

zinwalin opened this issue Dec 27, 2021 · 4 comments

Comments

@zinwalin
Copy link

zinwalin commented Dec 27, 2021

image

image

This is rendered output on M1 MacBook Pro, you may notice it is not as sharp as your demo in readme.

To make it sharper, what should I do? Appreciated.

BTW, I disabled SDL2 when compiling, does that influence the result?

image

@zinwalin
Copy link
Author

zinwalin commented Dec 27, 2021

For easier comparision, I uploaded zipped image here.

rendered_0000.png.zip

@vkoskiv
Copy link
Owner

vkoskiv commented Dec 27, 2021

The default resolution for that scene is set in the json file at 1280x800, so half that in the README example. You can adjust it by directly editing the json, or by using the -d command line flag to override it. You can see how to use it by running bin/c-ray -h

@zinwalin
Copy link
Author

The default resolution for that scene is set in the json file at 1280x800, so half that in the README example. You can adjust it by directly editing the json, or by using the -d command line flag to override it. You can see how to use it by running bin/c-ray -h

Hi vkoskiv, thanks a lot, it helps. When I set higher resolution, let say, 5120x3200. on M1 MacBook Pro, the CPU usage reaches 100%, I have a 3060 TI GPU on PC(Windows/Ubuntu), is c-ray written with support of GPU acceleration. Appreciated.

@vkoskiv
Copy link
Owner

vkoskiv commented Dec 28, 2021

There is no planned GPU support at this time.

Glad you got it working!

@vkoskiv vkoskiv closed this as completed Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants