• Welcome to Twisted DIRT Forums.
 

News:

MX vs ATV Reflex PC Multi-Player back on line 10/8/2013.  Get Racing.

Main Menu

Pov-Ray Help

Started by Robbo566, February 17, 2005, 07:36:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Robbo566

Hi, I'm having some trouble with Pov-Ray. The tutorials I read weren't in depth enough for me. I kinda didn't understand.
I searched through this forum, and didn't really find much.
I typed in my displacement map..

object {
  height_field {
    /*
     *  CHANGE the next line to point to your displacement map.
     */
    tga "C:\MCM2\Other\Povray\track27copy.tga"
    scale <SCALE_FACTOR, 50.0, SCALE_FACTOR>
    smooth

And now smooth up there^^ is in yellow. It stoped on there. What else do I have to do in Pov-Ray to get it to make my textures?

Thanks for your time.
Ben.
Compete Like your #1, Train Like Your #2.

aaron.270

I think you have to remove the smooth line.  It must have been used in earlier versions of POV-RAY and got dropped or something like that so try and remove it.

DirtTwister


Robbo566

Thanks fellas. I read it before, but I didn't really think anything of it. But then since mxd_motoron said something about the smoothing part, it made sense.

So I've got it to render without faults. Now I have been trying to make my DispMap smoother, so the shadows look better. But how do I adjust the angle on where the sun comes on?

I'm going to use this sky, http://mcmfactory.com/display.php?cat=objects&id=59

There doesn't seem to be much sun. What do you suggest I do as in setting it up in Pov-Ray?
I want the sun to come from the bottom of the screen (If for example, It was in Pov-Ray)

Thanks for your time.
Compete Like your #1, Train Like Your #2.

51

you can adjust both the scale factor below your TGA file and the light position. one way which may be easier is to rotate your map to compensate. like if the sun is or light is currently on the top of the screen just rotate your track 180 degrees in photoshop, save a copy, render it in pov ray, and then rotate the render back to fit over your texmap.