[osg-users] bumpshaders embedded in .osg file not seeming to update.

2008-12-16 Thread Dunhour, Mike (CIV)
Hello For fun made a cube and saved out as .osg, then edited in Shaders for fun. Seem to work but if light moves, using light[0] in shader the object does not appear to update. Any ideas? Mr. D MboxTest2d.osg Description: MboxTest2d.osg ___

[osg-users] here are the shaders for my object-Mr. D

2008-12-16 Thread Dunhour, Mike (CIV)
Here are the 3 shaders used 1ver to frag The bump is modified from the orange book example Thank you Mr. D BumpLight.frag Description: BumpLight.frag BumpLight.vert Description: BumpLight.vert s.frag Description: s.frag ___ osg-users mailing

Re: [osg-users] Always on top rendering.

2008-08-18 Thread Dunhour, Mike (CIV)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kim C Bale Sent: Saturday, August 16, 2008 11:40 AM To: OpenSceneGraph Users Subject: Always on top rendering. I'm having difficultly getting a some geometry to always render infront of a

Re: [osg-users] help me!

2008-07-28 Thread Dunhour, Mike (CIV)
Hello Use osgexp and 3ds Max(v8) all the time, most often with Delta3D, and have no problems with repeating UV's. Open your .osg file Where it describes your 'textureUnit'{ Texture 2d{ Look for wrap_s and wrap_t these should both be set to 'REPEAT' osgEXP should handle this without

Re: [osg-users] using Shader file call - what Shader version ..Clarification

2008-04-10 Thread Dunhour, Mike (CIV)
ok, a couple datapoints: the .osg format parser: 1) is case-sensitive 2) silently ignores anything is doesn't recognize. Your example shows File when the actual keyword is file. Excerpt from the glsl_simple.osg example: Shader { DataVariance DYNAMIC type VERTEX

[osg-users] using Shader file call - what Shader version

2008-04-09 Thread Dunhour, Mike (CIV)
Hello Still no luck getting a Shader to be called from a .osg file, but was told that calling up a Shader file with Shader { File do.frag Was advised might need certain Shader version such as 2.3 or above Thank you Mr. D ___

Re: [osg-users] osg clearnode

2008-01-31 Thread Dunhour, Mike (CIV)
Hello Still trying to get a shader program running in an .osg mesh file Doing the Program { Shader{ Type FRAGMENT Code { void main (void); { gl_FragColor = vec4 (1.0, 0.0, 0.0, 1.0); } Trying to get shader code to be called from file replacing code with File

[osg-users] Oops- sorry should be shader as .osg embedded code

2008-01-31 Thread Dunhour, Mike (CIV)
Hello Still trying to get a shader program running in an .osg mesh file Doing the Program { Shader{ Type FRAGMENT Code { void main (void); { gl_FragColor = vec4 (1.0, 0.0, 0.0, 1.0); } Trying to get shader code to be called from file replacing code with File

[osg-users] Creator vs 3D Studo Max- Blender

2007-12-11 Thread Dunhour, Mike (CIV)
Hello Noticed in this discussion talk about Blender and .OSG So just thought I'd mention these Blender Papers I did for the Delta 3D Team to be found here http://www.delta3d.org/article.php?story=20051207101455773topic=docs located at the bottom of the page they go over the basics of

[osg-users] call for a shader from within .osg/ive file

2007-12-06 Thread Dunhour, Mike (CIV)
Hello After much trial and error got a glsl shader running from within an .osg mesh file by using 'program'. Wondering if it is possible to simply make a call for a shader file (.cg..etc) from within the .osg mesh file, instead of having to place the whole shader code into the file. No

Re: [osg-users] ive format and includeImageFileInIVEFile doesitlosereferences to same image?

2007-09-24 Thread Dunhour, Mike (CIV)
I still don't understand how a 2.3Mb (uncompressed) dae file plus 0.3Mb of jpeg data ends up as a 20Mbyte ive file! Hello Don't know how you're going about getting it in to .ive, but doing artwork in 3dsMax and exporting using osgexp I can give some information you might find useful. In

[osg-users] Shader Question still

2007-08-20 Thread Dunhour, Mike (CIV)
Hello Still working on putting a shader into an .osg model file, not a full program, and following examples in OSG can do a basic Fragment color or texture combo. No Vertex code seemed to work or just do from in a Model file. Quick questions 1) anyone get a Vertex shader to work inside an

[osg-users] Embedded shader code examples in .osg mesh file?

2007-07-24 Thread Dunhour, Mike (CIV)
Hello Looking for example on how to embed shader code into an .osg mesh file replacing material settings. Looks something like Program { UniqueID Program_1 DataVariance STATIC num_shaders 1 Shader { DataVariance DYNAMIC type FRAGMENT code { void main (void)