One Additional Information the only thing I see is that texture one is half
transparent, but cannot see anything from texture two!!
Why!!
__
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
Hi,
I am trying to combine two or more Textures. I read an OSG File in. After that
I try to add a new Texture Attribute to my StateSet.
E.g. the first Texture is a RGB Texture in the second one has some Alpha
values. As result I want to see only the first texture at the texel where
texture two t
search for texture2D. For instance osggeometry
has a textured quad.
Robert.
On Fri, Jul 18, 2008 at 9:43 AM, ka Ming <[EMAIL PROTECTED]> wrote:
> Hi,
> I'am trying to add a texture attribute to a existing stateSet. If I try to
> add the attribute with setTextureAttributeAndMode
Hi,
I'am trying to add a texture attribute to a existing stateSet. If I try to add
the attribute with setTextureAttributeAndModes the list size increased but the
Image I set is null.
How do I correctly add a texture attribute??
Thanks
Ming
___
Hi,
is there any possibility to get, for example the rgb value, out of an
osg::Image.
data() returns only an unsigned char*
I need or I want an vec3 or with alpha value a vec4 as retrun value.
Is there any solution.
ming
__
Gesendet
DataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
}
}
}
..
Some Ideas??
冯晨 wrote:
Hi,
I think osgUtil::optimizer::TextureVisitor should solve your problem.:)
Good luck.
在2008-07-09 22:53:21,"ka Ming" <[EMAIL PROTECTED]&
Hi,
I got a Probel with osg Files, the File structure looks like:
Group{
Geode{
Geometry{
StateSet{
Texture{
}
}
}
}
Geode{
Geometry{
StateSet{
Texture{
}
Hi,
again the question, In front of my bump Map i got an opacity map. Bump map
works. Opacity maps works also. But on the transparent areas in my opacity map,
I cannot see the Bumpmap instead of that the I the background color is
displayed. Here is an excerpt of the osg File:
Group {
nodeMask
Hallo,
I got a Problem with a BumpMap und a OpacityMap. In my SceneGraph there two
Nodes. A BumpMapping Node, this already works fine. But in Front of this Node
is an additional Node, which should be an Opacity Map. Can I combine the
Opacity Map with the behind Node?
The problem is that i'm need
Hallo,
I have problem to get the effects of my Objects. I read in a 3ds File. I know,
that in this file bumpmapping is used. Now I want to traverse my scenegraph and
wanted to know which object have a bumpmap (or another effect).
How can I implement that?
I trying to cast the Group or Node to a
10 matches
Mail list logo