Science Forums
Advanced search
User Name
Password

Science Social Network
home    members    help/rules    who is online    contact   

Go Back   Science Forums > Physical Sciences Forums > Computer Science > Tutorials
Become a science forums sponsor today
Comment
 
LinkBack Tutorial Tools
Published by Mercedes Benzene 01-18-2008
Is anyone here familiar with POV-Ray?
And if so, would anyone care to help me with some questions that I have?

And this shall hence forth be THE thread for any future POV-Ray related discussion.
  #1  
By alexander on 01-21-2008
Re: POV-Ray anyone?

I'm more of a photon mapping guy
Reply With Quote
  #2  
By Janus on 01-21-2008
Re: POV-Ray anyone?

I have some experience with POV-Ray. What are your questions?
Reply With Quote
  #3  
By Mercedes Benzene on 01-21-2008
Re: POV-Ray anyone?

Quote:
Originally Posted by Janus View Post
I have some experience with POV-Ray. What are your questions?

Okay. Well the program that I'm using creates a POV-Ray input file automatically, so all I have to do is open up POV-Ray and render the image from that imput file.
Here's a screenshot of POV-Ray and the input script, as well as the resulting rendered image.



So my question is:
How can I make the rendering bigger? As you can see, the rendering is rather small... and I would very much like it to be bigger. Is it even possible to alter the script as shown in the screenshot to do that?

And after that is over, how would I go about changing the colors and textures and stuff. As is, all of that seems to be defined in the tens of thousands of jlines individually. Is there some way I can make a texture definition for all of the rendered pieces?

Thanks in advance!
Reply With Quote
  #4  
By Janus on 01-21-2008
Re: POV-Ray anyone?

As far as re-sizing goes, look up in the upper left hand corner of the POV-ray window, right under the "open" icon.
See the little box which reads [512x384, no AA] with the little "down" button next to it.
Click the down button and you will bring up a drop menu with different rendering sizes you can use. Click the one you want. ( Note you can choose between "no AA" and "AA 0.3". This selects the amount of antialiasing the scene renders with. Antialiasing renders slower but gives a smoother looking render.

As far as textures go, in the screenshot I see four textures declared (t0,t1,t2, and t3)

You can alter the textures by changing these declarations.

The lines that read
Quote:
#declare t0 = texture{
pigment {color rgb <0.1,0.4,0.9,>} finish{ specular 0.5 roughness 0.01 ambient 0.35 diffuse 0.32}
set the parameters for one of the textures, both the color (red 0.1, green 0.4, blue 0.9) and the finish ( how much and type of high-lighting you get, how much ambient lighting and diffuse light comtribute.)

You can also add "normal" which will determine the "bumpiness" of the texture.
Reply With Quote
  #5  
By Mercedes Benzene on 01-21-2008
Re: POV-Ray anyone?

Quote:
Originally Posted by Janus View Post
As far as re-sizing goes, look up in the upper left hand corner of the POV-ray window, right under the "open" icon.
See the little box which reads [512x384, no AA] with the little "down" button next to it.
Click the down button and you will bring up a drop menu with different rendering sizes you can use. Click the one you want. ( Note you can choose between "no AA" and "AA 0.3". This selects the amount of antialiasing the scene renders with. Antialiasing renders slower but gives a smoother looking render.

As far as textures go, in the screenshot I see four textures declared (t0,t1,t2, and t3)

You can alter the textures by changing these declarations.

The lines that read

set the parameters for one of the textures, both the color (red 0.1, green 0.4, blue 0.9) and the finish ( how much and type of high-lighting you get, how much ambient lighting and diffuse light comtribute.)

You can also add "normal" which will determine the "bumpiness" of the texture.
Thank you so much! You're amazing.
I'll try these out, and I may come back with more questions!
Reply With Quote
Comment

Bookmarks


Currently Active Users Viewing This Tutorial: 1 (0 members and 1 guests)
 
Tutorial Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 11:50 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network
Powered by GARS © 2005-2008