POV-Ray : Newsgroups : povray.newusers : Modify imported .obj in POV-Ray : Re: Modify imported .obj in POV-Ray Server Time
15 May 2024 00:47:02 EDT (-0400)
  Re: Modify imported .obj in POV-Ray  
From: Fractracer
Date: 1 Sep 2013 10:50:01
Message: <web.5223540b5b4622dde9f5ed2c0@news.povray.org>
"Newbie" <nomail@nomail> wrote:
> Hi, I'm new to POV-Ray so not good at it.
> I managed to import .obj into POV-Ray using PoseRay program but the imported
> object are so huge for my scene so I am trying to scale it down. I can't seem to
> find out how to scale the object down so it fit in my scene (since there like so
> much code in the geom.inc file). I tried to search around but can't seem to find
> anything. So could anyone guide me to scale/translate the imported .obj so I
> could use for my POV-Ray please?
>
> Thanks

To scale down an object you have to insert, for example: scale <0.5,0.5,0.5> in
the object section will scale down the object by 2.
In your main file scene you must have: #include geom.inc
and after you have to call the object that you need (ex: if your object's name
is FOO): object{FOO scale <0.5,0.5,0.5>}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.