POV-Ray : Newsgroups : povray.newusers : Imported mesh seems like a scene not a 3D pbject Server Time
31 Oct 2024 22:19:10 EDT (-0400)
  Imported mesh seems like a scene not a 3D pbject (Message 1 to 6 of 6)  
From: Vincent
Subject: Imported mesh seems like a scene not a 3D pbject
Date: 28 Oct 2012 19:25:00
Message: <web.508dbdbf24bb4a1a97c1fbff0@news.povray.org>
Hi all,

I have not grasped how POVRay work truely, so maybe my question be a stupid one.

I have imported a 3D mesh in OBJ format into povray, but when I render it, it
seems just like a perspecive scene of the object, whic I'm not able to rotate
it. I don't know even if this (i.e. roatating objects)is possible or not in
povray!


Thanks

Vincent


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Imported mesh seems like a scene not a 3D pbject
Date: 29 Oct 2012 03:00:44
Message: <508e299c$1@news.povray.org>
On 29/10/12 00:21, Vincent wrote:
> I have not grasped how POVRay work truely, so maybe my question be a
> stupid one.

   Hmmmm.... :)


> I have imported a 3D mesh in OBJ format into povray, but when I
> render it, it seems just like a perspecive scene of the object, whic
> I'm not able to rotate it. I don't know even if this (i.e. roatating
> objects)is possible or not in povray!


   Everything is "a scene" in POV-Ray! It is not an object viewer, and is
not real-time. It is a classic raytracer, so maybe you are looking at
the wrong program for your purposes...

--
Jaime


Post a reply to this message

From: Thomas de Groot
Subject: Re: Imported mesh seems like a scene not a 3D pbject
Date: 29 Oct 2012 03:46:45
Message: <508e3465$1@news.povray.org>
On 29-10-2012 0:21, Vincent wrote:
> Hi all,
>
> I have not grasped how POVRay work truely, so maybe my question be a stupid one.
>
> I have imported a 3D mesh in OBJ format into povray, but when I render it, it
> seems just like a perspecive scene of the object, whic I'm not able to rotate
> it. I don't know even if this (i.e. roatating objects)is possible or not in
> povray!
>

If I understand what you want to do, you need a modeller like Wings3D or 
Blender to manipulate your object.

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Imported mesh seems like a scene not a 3D pbject
Date: 29 Oct 2012 10:10:01
Message: <web.508e8dc6d3c91d52f2eb76540@news.povray.org>
"Vincent" <nomail@nomail> wrote:
> Hi all,
>
> I have not grasped how POVRay work truely, so maybe my question be a stupid one.
>
> I have imported a 3D mesh in OBJ format into povray, but when I render it, it
> seems just like a perspecive scene of the object, whic I'm not able to rotate
> it. I don't know even if this (i.e. roatating objects)is possible or not in
> povray!
>
>

Jamie has suggested that PovRay might not be suitable for your needs and this
could be true.
But if you really want to use PovRay then you need to use the rotate command in
the SDL script. Look at the help, section 2.2.7.1.3 Rotate.
If you want to create an animation of your mesh rotating you will need something
like:

mesh2 {
[snip]
   pigment {rgb 1}

rotate <0, 360 *clock, 0> */ rotates the mesh 360 degrees around the Y axis for
a cycle of the clock going from 0.0 to 1.0 /*
}

You might want to read the animation section in the manual and look at a couple
of the example files. To get the hang of animations it would be better to
replace your mesh with a cube to speed things up.
When you have finished you will have a series of files and you will need video
encoding software to build an animation.  You can find some links here:

http://povray.org/resources/links/3D_Animation_Utilities/


Stephen


Post a reply to this message

From: Cousin Ricky
Subject: Re: Imported mesh seems like a scene not a 3D pbject
Date: 29 Oct 2012 13:50:01
Message: <web.508ec118d3c91d5285de7b680@news.povray.org>
"Vincent" <nomail@nomail> wrote:
> I have not grasped how POVRay work truely, so maybe my question be a stupid one.
>
> I have imported a 3D mesh in OBJ format into povray, but when I render it, it
> seems just like a perspecive scene of the object, whic I'm not able to rotate
> it. I don't know even if this (i.e. roatating objects)is possible or not in
> povray!

Does this answer your question?

http://wiki.povray.org/content/Knowledgebase:Language_Questions_and_Tips#Topic_18


Post a reply to this message

From: Vincent
Subject: Re: Imported mesh seems like a scene not a 3D pbject
Date: 30 Oct 2012 00:50:06
Message: <web.508f5bcdd3c91d5297c1fbff0@news.povray.org>
Woww..thanks for the responses to this stupud question.
Actually, what I'm looking for is that, with a preset light source and camera,
what heppens to light reflectance of the object when it is rotated or moved(the
object includes some pores- and I don't want to create animation).
Considering your explanations, it seems that it means a real time raytracing,
and if I want to do that in povray I just can have a scene at each position.

In this case what softwares (Proprietary/ Freeware/...) do you suggest?  Thomas
suggested Wings3D or Blender, any others are welcomed.

Thanks!

Vincent


Post a reply to this message

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