robertosfield wrote:
> Hi Eveengy? Pereguda? Could you sign so we know how to address you thanks.
>
> As for the problems you have, I'm not an ffmpeg expert so will only be
> able to provide general suggestions. I have just tried running two
> videos in parallel with osgmovie -e ffmpeg movieone
in vertex shader add line
ReflectDir = (osg_ViewMatrixInverse * vec4(ReflectDir,0)).xyz;
after
ReflectDir = reflect(eyeDir, normal);
27.03.2013, 20:27, "Andrea Martini" :
> Hi hybr(),
> thank you. Now it works!
>
> I have to change something to update the reflected image on camera
Hi hybr(),
thank you. Now it works!
I have to change something to update the reflected image on camera moving ... i
have to check.
Thank you again.
Cheers,
Andrea
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53349#53349
Hi
environment->set(cubemap.get());
should be
environment->set(int(unit));
Cheers
27.03.2013, 18:45, "Andrea Martini" :
> Hi,
> i'm trying to apply a reflection effect on a sphere, using a cube map.
> I'm using as vertex shader dthe following :
>
> Code:
>
> #version 400 compatibili
Hello Daniel,
Take a look at the cullvisitors members, there are functions like
getEyeLocal and so on. Maybe this can help you.
cheers
Sebastian
Hi Robert
Its not the ModelView Matrix of that I need, it is the ViewMatrix, since I want
to calculate the current eyepoint/direction in world coo
Hi Robert
Its not the ModelView Matrix of that I need, it is the ViewMatrix, since I want
to calculate the current eyepoint/direction in world coordinates.
Or is there a way to get to eyepoint by using the ModelView Matrix of the
cullvisitor? I'm not that strong in matrix math...
Regards
Danoo
Hi Danoo,
On 27 March 2013 07:32, Daniel Schmid wrote:
> The problem is, that in my calculations of my uniform, I need the ViewMatrix
> of the camera in world coordinates. When I get the viewmatrix of the current
> camera (which is the prerender camera) in my cull visitor, it get a identiy
> matr
Hi Daniel,
the text HUD shows up correctly.
Only the wallpaper is missing. I create it by a separate camera in
PRE-RENDERmode. Here ist the code snippplet:
===
/** This method creates a HUD-Window for a wallpaper */
void Cl_3Dview_osg::createWallpaper
Hi all
I have a prerender RTT camera that renders part of my scenegraph, and i set
reference_frame to RELATIVE_RF, the view direction of the camera is identical
to the main camera. The output of the prerender camera is then applied in a
postprocessing step. Everything works fine and is displaye
9 matches
Mail list logo