Hi,How to avoid the Fatal nb colors error in texture images.
...
Thank you!
Cheers,
Rambabu
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69851#69851
___
osg-users mailing list
Hi,4 Texture images are loading remaining texture images are not loading to
the model what i have to do ?
...
Thank you!
Cheers,
Rambabu
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69849#69849
Happy New Year, everybody!
I’m Daven Hem, OSG beginner in Cambodia.
I want to draw 3D cylinder and 3D band which is made from centered line.
I have two problems I have to solve with OpenSceneGraph.
Create a 3D line which is defined by N vertices.
- Create a 3D cylinder which is
Hi Bruno,
As I am recalling how this is to be done is something like this:
Let say you want to pass colors as vertex attributes:
const size_t vertexAttribLocation = 5;
osg::Vec4Array* colors = new ...
osg::Geometry* geometry = new ...
geometry->setVertexAttribArray(vertexAttribLocation
"Rômulo Cerqueira" writes:
> Hi Sebastian,
>
> I have used the last openscenegraph stable package in ubuntu (version
> 3.2.3 - https://launchpad.net/ubuntu/+source/openscenegraph), and
> there is no setDefine() method in osg::StateSet (only for 2.4 and
> newer). There is a different way?
>
Hi
Hi,
>
> I can create a minimal example if you're stuck with this.
>
I will appreciate this, please.
...
Thank you!
Cheers,
Rômulo
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69845#69845
On Tue, Jan 3, 2017 at 1:49 PM, Rambabu Repaka
wrote:
> Hi,Iam using osg 3.5.1 version Textures are not loading to the model it is
> showing Warning: [ReaderWriterOBJ::convertElementListToGeometry] Some
> faces from geometry '' were reversed by the plugin.I converted the
On Tue, Jan 3, 2017 at 1:57 PM, Rambabu Repaka
wrote:
> Hi,How to do Wet on the ground when raining in osg ?
>
Ehm, I am not quite sure what do you mean, but I assume that you want to
render wet ground. A big of googling would find this, for example:
Hi, yes there is:
Simply assign one Program with shaders handling texturing and the
non-texturing variant at the appropriate state-sets. Be sure to share
the programs (don't create a new one per instance) to keep performance up.
I can create a minimal example if you're stuck with this.
Pragmatic shader composition was added to the repository around Feb 13,
2015, and most likely into OSG 3.4 and newer only.
A link to the relevant thread started by Robert Osfield is here:
http://markmail.org/message/mjxjn4vujpvz3wfz#query:+page:1+mid:vogwv7uwhoefcln6+state:results
2017-01-03
Hi Sebastian,
I have used the last openscenegraph stable package in ubuntu (version 3.2.3 -
https://launchpad.net/ubuntu/+source/openscenegraph), and there is no
setDefine() method in osg::StateSet (only for 2.4 and newer). There is a
different way?
Cheers,
Rômulo
--
Read
Hi,How to do Wet on the ground when raining in osg ?
...
Thank you!
Cheers,
Rambabu
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69839#69839
___
osg-users mailing list
Hi,My Texture image files are in .png and .jpeg format.
...
Thank you!
Cheers,
Rambabu
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69838#69838
___
osg-users mailing list
Hi,Iam using osg 3.5.1 version Textures are not loading to the model it is
showing Warning: [ReaderWriterOBJ::convertElementListToGeometry] Some faces
from geometry '' were reversed by the plugin.I converted the model into .osgb
format but textures are not adding to the model.
...
Thank
When loading .obj files (e.g. exported from Blender) into OSG - especially
those that are exported with the "group by material" option - you might
find a lot of individual tri strips in the resulting OSG geometry.
Here is a piece of code (a node visitor) that will join these tri strips
into a
Hi,
I would like to know which version of collada need to be integrate with
OSG. I have installed collada 2.4.4. I tried to integrate osg and collada. I am
getting linking issue. I have provided necessary cmake option. I am using
vs2015.
daeReader.obj : error LNK2019: unresolved external
Hi Bruno,
There is simply no geometry in the scenegraph to intersect (or strictly
speaking there is only one drawable)
Instancing takes away the load from the CPU to the GPU,which on the
OSG-side means to put the instanced geometries into one drawable
containing the instancing information.
Hi, Oliveira,
there maybe many reasons that why no intersection. I cannot give you advise
without more information. u can check about examples within OSG source code,
e.g. "osgintersection".
--
Cheers,
---
TianZJ
At 2017-01-03 17:55:02, "Bruno Oliveira"
Hi TianZJ, Thanks for the quick answer.
I checked the intersector, but intersector->getIntersections() returns no
intersections at all.
2017-01-03 9:32 GMT+00:00 tianzjyh :
> Hi, Oliveira,
> You can check the intersections of your intersector(e.g.
>
Hi, Oliveira,
You can check the intersections of your intersector(e.g.
LineSegmentIntersector::Intersection), and you will find they contain an
"osg::NodePath", which means the whole path of the node(e.g. matrix transform
nodes upon the drawable instance).
--
Cheers,
---
TianZJ
At
Hello,
I'm implementing a draw instanced optimized scene. This is for drawing a
set of polygons.
Previously I was creating a drawable for each polygon, but now I am using
draw instancing. With one drawable per polygon I can easily use osg
intersectors for computing scene intersections. But how
21 matches
Mail list logo