POV-Ray : Newsgroups : povray.newusers : need help with object size : Re: need help with object size Server Time
28 Jul 2024 20:26:53 EDT (-0400)
  Re: need help with object size  
From: M a r c
Date: 25 Aug 2007 13:19:56
Message: <46d064bc$1@news.povray.org>

web.46d051e12dcf28c51aab3f370@news.povray.org...
> "M_a_r_c" <jac### [at] wanadoofr> wrote:

>> web.46d03851993e0b781aab3f370@news.povray.org...
>> >I added a bird object include file into my scene, but the bird is bigger
>> > than my scene... how do i make the bird smaller?? i have no idea..
>> >
>> >
>>
>> scale it down
>>
>> object{name_of_your_bird scale 0.01}// or whatever value you need
>>
>> Marc
>
> i tried object{"bird.inc" scale 0.01} and it didnt work ><
>
Eerr that's not exactly what I meant :-)

"bird.inc" is the name of your include file.

Is there a declaration in that file like

#declare Obj_name= followed by the actual object, maybe a mesh or mesh2 with 
lots of data lines?

"Obj_name"     is an example name, it could be "Bird" or anything except a 
POVRay keyword
If yes, there must be at the end of bird.inc or somewhere in you main file a 
line like
object{Obj_name}
It is in this block that you must put the scale
object{Obj_name scale 0.01}

If no declaration and if you have only one mesh, put the scale just before 
the last "}" of the bird.inc file

I admit this is not cristal clear but without seeing  the code ...

HTH
Marc


Post a reply to this message

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