From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Ryan
Morris
Sent: Monday, December 22, 2008 9:09 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Texture Image Size
I've been
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
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-use
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 scen
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 you
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
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
___
osg-
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 wi
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
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=20051207101455773&topic=docs
located at the bottom of the page
they go over the basics of runni
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 sam
> 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
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 obj
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)"
..
14 matches
Mail list logo