Re: [osg-users] Performance with Mesh under Windows 11 extremely slow

2021-10-21 Thread 'Tom Pollok' via OpenSceneGraph Users
f your scene by the provided visitor of OSG > > This is just for the beginning ... :-) > > - Werner - > > Am 20.10.2021 um 20:31 schrieb 'Tom Pollok' via OpenSceneGraph Users: >> Dear Werner, >> >> thank you for your help. I was setting the app settin

Re: [osg-users] Performance with Mesh under Windows 11 extremely slow

2021-10-19 Thread 'Tom Pollok' via OpenSceneGraph Users
> > On 20. Oct 2021, at 00:19, Brad Colbert wrote: > >  > > Tom, > > Are you sure that your laptop isn't a "dual chip" version and that you are > not running on the non nvidia / non-accelerated chip? > > On Tue, Oct 19, 2021 at 9:17 AM 'Tom Pollok' via

Re: [osg-users] Performance with Mesh under Windows 11 extremely slow

2021-10-19 Thread 'Tom Pollok' via OpenSceneGraph Users
n nvidia / non-accelerated chip? > >> On Tue, Oct 19, 2021 at 9:17 AM 'Tom Pollok' via OpenSceneGraph Users >> wrote: >> Its just a large surface geometry with 440K vertices and 870K faces. I >> removed the texture and i still have the same issue. >> >> I open

Re: [osg-users] Performance with Mesh under Windows 11 extremely slow

2021-10-19 Thread 'Tom Pollok' via OpenSceneGraph Users
ieb am Dienstag, 19. Oktober 2021 um 06:27:26 UTC-7: > On Tue, 19 Oct 2021 at 13:20, 'Tom Pollok' via OpenSceneGraph Users < > osg-...@googlegroups.com> wrote: > >> Dear Robert, >> >> i tried OSG on my new high performance Laptop (4K Resolution, Nvidia RTX >&

[osg-users] render quad texture to arbitrary quadrilateral

2020-10-27 Thread 'Tom Pollok' via OpenSceneGraph Users
Hello, im trying to render a texture to an quadrilateral. The quadrilateral is the calculated by the intersection view frustum with aplane. So the image basically a perspective projection of the original image. Unfortunately the texture coordinates are not interpolated correctly such that

[osg-users] Re: Anaglyph and NodeMask issue

2020-04-29 Thread 'Tom Pollok' via OpenSceneGraph Users
Ah ok you controll it through CullMask. Thanks. Am Dienstag, 28. April 2020 15:23:09 UTC+2 schrieb Tom Pollok: > > Thanks. Do i understand it corrently that the semantics of nodemask is > completely user specific. And in osg in stereo context 0x1 means left cam > and 0x2 means right cam? > >

[osg-users] Re: Anaglyph and NodeMask issue

2020-04-28 Thread 'Tom Pollok' via OpenSceneGraph Users
Thanks. Do i understand it corrently that the semantics of nodemask is completely user specific. And in osg in stereo context 0x1 means left cam and 0x2 means right cam? How can i define which parts of the mask are rendered with my camera? I tried to set the nodemask of my Camera, but it did

Re: [osg-users] Projecting a texture onto the scene geometry

2020-04-23 Thread 'Tom Pollok' via OpenSceneGraph Users
This works perfectly Thank you very much for that hint, Robert! Am Donnerstag, 23. April 2020 21:23:02 UTC+2 schrieb OpenSceneGraph Users: > > On Thu, 23 Apr 2020 at 20:01, OpenSceneGraph Users < > osg-...@lists.openscenegraph.org > wrote: > >> Is there a way in osg to project a given

[osg-users] Projecting a texture onto the scene geometry

2020-04-23 Thread 'Tom Pollok' via OpenSceneGraph Users
Is there a way in osg to project a given texture, a 3d location and focal length onto the 3d geometry, for example a surface mesh, of a scene using osg? -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group

[osg-users] Anaglyph and NodeMask issue

2020-04-23 Thread 'Tom Pollok' via OpenSceneGraph Users
I use node mask to show or hide parts of the scene graph. When enabling stereo mode in osg, it seems to completely ignore the node mask. Is this expected behaviour? osg::DisplaySettings::instance()->setStereoMode(osg::DisplaySettings:: ANAGLYPHIC );

Re: [osg-users] Rendering a Depthmap

2020-01-25 Thread 'Tom Pollok' via OpenSceneGraph Users
Is there a way to do this directly with osg or does it need a custom implementation? If no, is anybody able to share code for how to render a depthmap with intrinsic camera parameters as a 3d pointcloud using shaders? Am Mittwoch, 12. Juni 2019 21:18:38 UTC+2 schrieb Trajce Nikolov NICK: > > Hi

[osg-users] Re: Textured ply file is black when loaded.

2020-01-24 Thread 'Tom Pollok' via OpenSceneGraph Users
While i agree that it makes no sense for ply to support any application specific formats, I still support the idea of allowing for importing a small subset of possibilities. If the plugin is called osgdb_ply.dll, how should one know that it only supports the semantic of equalizergraphics. Is

[osg-users] Re: Textured ply file is black when loaded.

2020-01-21 Thread 'Tom Pollok' via OpenSceneGraph Users
Also it seems that its not the method void VertexData::readVertices( PlyFile* file, const int nVertices, const int fields ) see https://github.com/openscenegraph/OpenSceneGraph/blob/32566420c9d68a640996d741d13852e8d1229f3e/src/osgPlugins/ply/vertexData.cpp#L48 that needs to be adapted, but

[osg-users] Re: Textured ply file is black when loaded.

2020-01-21 Thread 'Tom Pollok' via OpenSceneGraph Users
Hi Robert, oh i didnt mean you to do a deep investigation, i just thought it was a bug or at least you might know if im doing sth wrong. I investigated a little. So it seems that the comment for texture files is actively used: comment TextureFile YourTexture_material_0_map_Kd.jpg So that

[osg-users] Textured ply file is black when loaded.

2020-01-20 Thread 'Tom Pollok' via OpenSceneGraph Users
I converted the repaired obj meshmodel from https://groups.google.com/forum/#!topic/osg-users/BBUYMYiWGl8 using MeshLab to a ply file. https://owncloud.iosb.fraunhofer.de/owncloud/s/fF6tLLgDCu2xwZk Pw: osg I can load the ply file using MeshLab and CloudCompare, but when loading the ply file

Re: [osg-users] Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-15 Thread 'Tom Pollok' via OpenSceneGraph Users
to take extra care when loading a textured model? >> >> For loading, im using only: >> >> osgDB::Options* opt = new >> osgDB::Options;opt->setOptionString("noRotation");osg::ref_ptr >> node = osgDB::readNodeFile(pathToObjFile, opt); >>

Re: [osg-users] Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-15 Thread 'Tom Pollok' via OpenSceneGraph Users
:readNodeFile(pathToObjFile, opt); Best, Tom Am Dienstag, 14. Januar 2020 17:25:27 UTC+1 schrieb Robert Osfield: > > On Tue, 14 Jan 2020 at 15:26, 'Tom Pollok' via OpenSceneGraph Users < > osg-...@googlegroups.com > wrote: > >> Thank you for the workaround. >> >> S

[osg-users] Re: Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
Thank you for the workaround. So as far as i understand you only add the texture coordinate and normal, if there exists one with a index greater than 0 and less then the number of normals or texture coordinates. So that means that openscenegraph now will be able to display the textured mesh,

[osg-users] Re: Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
Am Dienstag, 14. Januar 2020 15:23:15 UTC+1 schrieb Robert Osfield: > > > On Tuesday, 14 January 2020 13:54:37 UTC, Tom Pollok wrote: >> >> I used OpenMVS to create it: >> >> https://github.com/cdcseacave/openMVS >> > > The model isn't a valid .obj file, I am not familiar with OpenMVS and as I

[osg-users] Re: Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
Hello Laurens, thank you for your investigation! Best, Tom Am Dienstag, 14. Januar 2020 14:10:27 UTC+1 schrieb L. Voerman: > > repost in google group; It seems like my reply to the mailing list does > not show up in google groups. > > Hi Tom, > I think your obj file is invalid, as the faces

[osg-users] Re: Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
I used OpenMVS to create it: https://github.com/cdcseacave/openMVS I can also view the model using MeshLab or other tools. Is it possible to fix the invalid references in openscenegraph? Am Dienstag, 14. Januar 2020 14:36:29 UTC+1 schrieb Robert Osfield: > > I have looked at the model with

[osg-users] Loading textured meshes (obj+mtl) leads to crash in osg 3.4.1

2020-01-10 Thread 'Tom Pollok' via OpenSceneGraph Users
When loading a textured mesh from an obj file with mtl + texture file, openscenegraph crashes. I use openscenegraph 3.4.1. Does anybody know if that issue has been fixed in newer versions? -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users"