[osg-users] Coordinate conversion

2020-12-07 Thread OpenSceneGraph Users
to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/dbec4e1b-adec-424b-ae8d-cb5

Re: [osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?

2020-12-05 Thread OpenSceneGraph Users
On Sat, 5 Dec 2020 at 04:31, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > My working environment is closed and I cannot provide complete code. > > I'm not asking for code or data, just a high level explanation as outline in my previous email. >

Re: [osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?

2020-12-04 Thread OpenSceneGraph Users
, if the issues > you are seeing are presented in a way that is next to impossible to know > how to answer you shouldn;t expect answers as we don't have magical powers. > > -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" g

Re: [osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?

2020-12-04 Thread OpenSceneGraph Users
I doubt anyone will be able to help given the information. You are diving into providing snippet of code and a screenshot with almost no context. It's far better to take a step back and explain what you are doing with your application from a high level to give the context, then explain what you

Re: [osg-users] Coordinate conversion

2020-12-08 Thread OpenSceneGraph Users
sorry On Monday, December 7, 2020 at 7:03:06 PM UTC+8 OpenSceneGraph Users wrote: > On Mon, 7 Dec 2020 at 10:21, OpenSceneGraph Users < > osg-...@lists.openscenegraph.org> wrote: > >> My data is not Wgs84 coordinate system, How can I use my data on osg and >> export

Re: [osg-users] Coordinate conversion

2020-12-08 Thread OpenSceneGraph Users
or gdal to convert coordinates. But I don't know how to use proj or gdal in OSG. On Monday, December 7, 2020 at 7:03:06 PM UTC+8 OpenSceneGraph Users wrote: > On Mon, 7 Dec 2020 at 10:21, OpenSceneGraph Users < > osg-...@lists.openscenegraph.org> wrote: > >> My data is not Wg

Re: [osg-users] Coordinate conversion

2020-12-08 Thread OpenSceneGraph Users
On Tue, 8 Dec 2020 at 11:46, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > > Sorry, the description is not clear, I need to let the program accept data > in different coordinate systems, and then use the data to build some > models. I don't know h

[osg-users] stop

2020-11-24 Thread OpenSceneGraph Users
stop ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-24 Thread OpenSceneGraph Users
Nov 2020 at 11:55, OpenSceneGraph Users < > osg-...@lists.openscenegraph.org> wrote: > >> Thank you for your questions.I want to know if the sent >> GUIEventAdapter::USER message has been processed completely. >> >> Check whether GUIEventAdapter::USER has been p

[osg-users] [Auto Reply] stop

2020-11-24 Thread OpenSceneGraph Users
[Auto Reply] stop ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] [Auto-Reply] I'm driving right now - I'll get bac...

2020-11-24 Thread OpenSceneGraph Users
[Auto-Reply] I'm driving right now - I'll get back to you later. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-24 Thread OpenSceneGraph Users
On Wed, 25 Nov 2020 at 02:04, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > I Send USER events loading model from qt . Is this the right > approach? > > I want the progress bar in the QT to show that the model is loaded. So, > Check whethe

Re: [osg-users] How do I render a.ive model with shader?

2020-11-24 Thread OpenSceneGraph Users
You can't expect people to help you when you don't explain the problem you are seeing. A title, a screenshot and some shader code is not in any way sufficient. Far better to take a step back and explain what you are doing, what you have got working, what doesn't work.

Re: [osg-users] How do I render a.ive model with shader?

2020-12-09 Thread OpenSceneGraph Users
e, a screenshot and some shader code is not in any >> way sufficient. Far better to take a step back and explain what you are >> doing, what you have got working, what doesn't work. >> > -- You received this message because you are subscribed to the Google Groups "OpenSc

Re: [osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?

2020-12-09 Thread OpenSceneGraph Users
i find this setUseVertexAttributeAliasing must be set in Osg when using higher versions of Shader. Otherwise it won't work gc->getState()->setUseVertexAttributeAliasing(true); 在2020年12月5日星期六 UTC+8 下午5:22:22 写道: > On Sat, 5 Dec 2020 at 04:31, OpenSceneGraph User

[osg-users] [Auto-Reply] I'm driving right now - I'll get bac...

2020-12-09 Thread OpenSceneGraph Users
[Auto-Reply] I'm driving right now - I'll get back to you later. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How to properly transfer texture coordinates in geometric shaders in Shader #130 version?

2020-12-10 Thread OpenSceneGraph Users
ram->setParameter(GL_GEOMETRY_VERTICES_OUT_EXT, 3); > program->setParameter(GL_GEOMETRY_INPUT_TYPE_EXT, GL_TRIANGLES); > program->setParameter(GL_GEOMETRY_OUTPUT_TYPE_EXT, GL_TRIANGLES ); > return program; > } > -- You received this message because you are subscribe

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-27 Thread OpenSceneGraph Users
Is there a problem with adding or removing OSG nodes directly in the Qt Widget events? My idea is to send OSG USER events to complete the operation of adding and removing OSG nodes. 在2020年11月25日星期三 UTC+8 下午3:56:36 写道: > On Wed, 25 Nov 2020 at 02:04, OpenSceneGraph Users <

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-28 Thread OpenSceneGraph Users
On Sat, 28 Nov 2020 at 06:47, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > Is there a problem with adding or removing OSG nodes directly in the Qt > Widget events? > If your application is running single threaded then adding/removing objects from the sce

[osg-users] [Auto-Reply] I'm driving right now - I'll get bac...

2020-12-04 Thread OpenSceneGraph Users
[Auto-Reply] I'm driving right now - I'll get back to you later. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] fuck off stop messaging me u dumb fucks

2020-12-11 Thread OpenSceneGraph Users
"OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/mailman.35984.1607715571.3541.osg-users-openscen

[osg-users] Explicitly requesting default state for attribute

2020-12-11 Thread OpenSceneGraph Users
u received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.c

Re: [osg-users] Viewer raw pixel data

2020-11-09 Thread OpenSceneGraph Users
2D > vector graphic environment display it. > > Thanks for any help > Regards > > - Luigi > > -- > You received this message because you are subscribed to the Google Groups > "OpenSceneGraph Users" group. > To unsubscribe from this group and stop re

[osg-users] Volume of .obj model

2020-11-10 Thread OpenSceneGraph Users
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.

Re: [osg-users] Volume of .obj model

2020-11-10 Thread OpenSceneGraph Users
When you saying volume what do you actually mean? The models that are loadable from .obj can be totally unconstrained open meshes where a volume isn't normally applicable without extra constraints. Do you know your models are manifold geometries? ___

Re: [osg-users] How to Implement Landing Light... Give me Hint!

2020-11-11 Thread OpenSceneGraph Users
Have a look at the osglightpoint example that illustrates how to use the osgSim::LightPointNode. These days though, I'd use shaders -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-11 Thread OpenSceneGraph Users
EventHandlers are given single events not queues. If you want to process the while event queue then you'll need to do this in the main loop. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] How to Implement Landing Light... Give me Hint!

2020-11-12 Thread OpenSceneGraph Users
net/ ... The > code uses F+ lighting in shaders and the code is available > > On Thu, Nov 12, 2020 at 5:05 AM OpenSceneGraph Users < > osg-...@lists.openscenegraph.org> wrote: > >> I tried to implement it by referring to FlightGear's >> Secondary_lights.frag, but it is an

Re: [osg-users] How to Implement Landing Light... Give me Hint!

2020-11-12 Thread OpenSceneGraph Users
here is an alternative of flightgear http://openig.compro.net/ ... The code uses F+ lighting in shaders and the code is available On Thu, Nov 12, 2020 at 5:05 AM OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > I tried to implement it by referring to Fli

Re: [osg-users] How to Implement Landing Light... Give me Hint!

2020-11-11 Thread OpenSceneGraph Users
Users님이 작성: > Have a look at the osglightpoint example that illustrates how to use the > osgSim::LightPointNode. > > These days though, I'd use shaders > -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To un

Re: [osg-users] How to Implement Landing Light... Give me Hint!

2020-11-13 Thread OpenSceneGraph Users
works fine from europe. maybe some restrictions to your country. anyway, here is the code https://github.com/CCSI-CSSI/MuseOpenIG and some reference video for your case https://www.youtube.com/watch?v=bTLBzYjS7Qo On Fri, Nov 13, 2020 at 12:50 AM OpenSceneGraph Users < osg-us

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-16 Thread OpenSceneGraph Users
On Mon, 16 Nov 2020 at 05:05, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > sorry,I mean what method get the number of GUIEventAdapter::USER in OSG? > You'll need to get the osgGA::EventQueue which you are pushing the user events to and then traverse throug

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-15 Thread OpenSceneGraph Users
ed this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-16 Thread OpenSceneGraph Users
:05, OpenSceneGraph Users < > osg-...@lists.openscenegraph.org> wrote: > >> sorry,I mean what method get the number of GUIEventAdapter::USER in >> OSG? >> > > You'll need to get the osgGA::EventQueue which you are pushing the user > events to and then traverse

[osg-users] [Auto-Reply] I'm driving right now - I'll get bac...

2020-11-16 Thread OpenSceneGraph Users
are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/mailman.28735.16055

Re: [osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-17 Thread OpenSceneGraph Users
On Tue, 17 Nov 2020 at 11:55, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > Thank you for your questions.I want to know if the sent > GUIEventAdapter::USER message has been processed completely. > > Check whether GUIEventAdapter::USER has been processed

[osg-users] I want to know whether a line and a point intersect.

2020-11-17 Thread OpenSceneGraph Users
e subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/ff9f8914-3012-4

[osg-users] [Auto-Reply] I'm driving right now - I'll get bac...

2020-11-17 Thread OpenSceneGraph Users
[Auto-Reply] I'm driving right now - I'll get back to you later. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Viewer raw pixel data

2020-11-09 Thread OpenSceneGraph Users
this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid

Re: [osg-users] Viewer raw pixel data

2020-11-09 Thread OpenSceneGraph Users
at 16:00, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > We are in need of wrapping the OSG library inside a vector graphic > environment. > The vector graphic environment doesn't offer any OpenGL functionality in > and of itself, however there is a function in

[osg-users] [Auto-Reply] I'm driving right now - I'll get bac...

2020-11-09 Thread OpenSceneGraph Users
are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/mailman.27801.16049

[osg-users] How to Implement Landing Light... Give me Hint!

2020-11-10 Thread OpenSceneGraph Users
://cdn.shopify.com/s/files/1/0080/5598/0128/products/pilatus-pc12-lights-night_e8e48863-da11-4ce1-b4f1-232923d13a36_1200x1200.jpg?v=1559140493 -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiv

[osg-users] How can I know the number of GUIEventAdapter::USER in the message queue for GUIEventHandler?

2020-11-10 Thread OpenSceneGraph Users
system Win10 ,osg 3.6.4, osgearth 2.10.0,GTX1660 -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.co

[osg-users] osgviewer: unable to find a plugin for jpg

2020-10-21 Thread OpenSceneGraph Users
t; Someone know if there is a way to add this plugin? Thanks for the helpers. -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr

Re: [osg-users] osgviewer: unable to find a plugin for jpg

2020-10-21 Thread OpenSceneGraph Users
On Wed, 21 Oct 2020 at 09:35, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > Hello, i trying to load model and watch him with the osgviewer. > I have in the folder all of the files to load it and the textures. > But, when I run the osgviewer with the mo

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

2020-01-24 Thread 'Tom Pollok' via OpenSceneGraph Users
ty uchar green >> property uchar blue >> property uchar alpha >> end_header >> >> But MeshLab did not create an mtl file, however as said, other tools can >> still load the model. >> >> For loading i use: >> >> osgDB::Options* opt = new

Re: [osg-users] Rendering a Depthmap

2020-01-25 Thread 'Tom Pollok' via OpenSceneGraph Users
g-users mailing list >>> osg-...@lists.openscenegraph.org >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>> >> ___ >> osg-users mailing list >> osg-...@lists.opens

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

2020-01-13 Thread 'Tom Pollok' via OpenSceneGraph Users
ou provide a stack trace? > > What platform are you working on? Did you build the OSG yourself? > > What hardware are you working on? > > Cheers, > Robert, > -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" gro

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

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
; > > On Wed, Jan 15, 2020 at 12:24 PM 'Tom Pollok' via OpenSceneGraph Users < > osg-...@googlegroups.com > wrote: > >> Hello Robert, >> >> to test it with my old osg version, i fixed the obj file such it does not >> contain any indices to normals anymo

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

2020-01-13 Thread 'Tom Pollok' via OpenSceneGraph Users
t;> fixed in newer versions? >>> >> >> I don;t recall reports of crashes associated with .obj. >> >> Could you provide a link to the model that is causing the problem? >> >> Could you provide a stack trace? >> >> What platform are y

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

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
ces. > > Where did this model come from? > -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view th

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

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
om Pollok wrote: >>>> >>>> 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 v

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

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
nSceneGraph/commit/2b9c501e18b6eded7375c0e272aff401ad9793a2 > -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this dis

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

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
h and the up > coming 3.6.5 release. > > Robert. > > Thank you Robert for your help and thank you for all your efforts for openscenegraph! Best, Tom. -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubsc

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

2020-01-20 Thread 'Tom Pollok' via OpenSceneGraph Users
the model. For loading i use: osgDB::Options* opt = new osgDB::Options;opt->setOptionString("noRotation");osg::ref_ptr node = osgDB::readNodeFile(pathToPlyFile, opt); -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" gro

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

2020-01-21 Thread 'Tom Pollok' via OpenSceneGraph Users
ith files which using the texcoords field. To me it looks > like some tools have decided on their own convention and some other tools > honour this, but without know exactly what it is I don't have anything to > go on to make modifications to the OSG's ply plugin. > > I have to def

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

2020-01-21 Thread 'Tom Pollok' via OpenSceneGraph Users
ut texcoords so it looks like this >> is user definable in which case how to interpret things could be really >> open ended. >> >> I haven't yet found any explanation online about what is expected in this >> case. I know nothing about the tools you've used to cre

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

2020-01-21 Thread 'Tom Pollok' via OpenSceneGraph Users
gt; and reset all the triangle indices. To not due this optimization pass > would likely lead to massively larger and inefficient geometries. > > It's all possible but does all require a bit of work and inference that > that's how the data is intended to be used. > > This all t

[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

Re: [osg-users] Imported .obj file not showing textures.

2020-01-14 Thread 'Tom Pollok' via OpenSceneGraph Users
t applied. I am getting only > black shade. > The model is imported using the below code. > > > osg::ref_ptr model1= osgDB::readNodeFile(path.toStdString()); > model1->setDataVariance(osg::Object::DYNAMIC); > > > > -- You received this message because you are s

[osg-users] Step by step addDrawable and visualize current scene graph

2021-03-21 Thread 'Paul Jurczak' via OpenSceneGraph Users
screen for 2s instead and 2 spheres afterwards. What do I have to change? -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@

[osg-users] Correct place to check shader compile errors

2021-02-24 Thread 'James Turner' via OpenSceneGraph Users
are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/437023da-c7b2

<    1   2   3   4   5   6