Eduardo Alberto Hernández Muñoz wrote:
> Hi list,
> I'm interested in taking some code from osgFX( particulary cartoon and
> bump mapping ), modifying it, and putting the result under the GPL.
What exactly, is your goal in putting it under the GPL? The OSGPL is designed
so that
OSG can be used
Hi Eduardo,
sorry but it is really not clear why LGPL prohibits you to
> it's to separate them from osgFX:: Effect class( maybe subclass from
> osg:: Group ), allow them to be mixed with the ambient color, allow
> the Cartoon effect to select the texture unit and remove the outline(
> and possibl
Hi list,
I'm interested in taking some code from osgFX( particulary cartoon and
bump mapping ), modifying it, and putting the result under the GPL.
Since the OpenSceneGraph Public License is based on the LGPL, and the
LGPL permits switching to the GPL, you would think I just have to
change any ref
Hi Robert,
Philip was right on track and attached is the proof.
I tried to build it on WinXP some days ago and succeeded with a few
tweaks to the cmake files. Not sure if you are interested or where you
are going with osgEphemeris in svn but will submit the changes and let
you decide.
cheers
Mat
Hello,
Many thanks to the "community" for a great scenegraph! I'm a new user but hope
to contribute someday...
Anyway, I found this out the hard way on OSG 2.8.0...
Take any program w/ osgText (examples/osgtext in the distro works fine).
Change link options to link with these OSG libs, in this
Thx everyone!! for the help. :D :D You've given me a lot to think about. I
really appreciate your time.
J-S, here's my code that now works but still "drags" a little after a few
thousand iterations. I found that setVertexArray is (I believe, but could be
totally wrong) actually "copying" the
Hi list,
it seems that currently none of the model loading plugins can load a
1D texture( did a quick grep for Texture1D ), except the .osg and .ive
formats. If you try loading a .png file with a height and depth of 1,
loading fails( as it probably tries to load it as a Texture2D ), and ,
and I'm
Hello Allen,
I've tried leaving setDisplayList (true) and calling the method
dirtyDisplayList() and not calling setVertexArray(vad). That doesn't work
either.
Nothing has worked so far except to call setVertexArray(vad);
Check the code to osg::Geometry::setVertexArray to see if it's doing
What type of primitive (mode) is in your DrawArrays? If it's GL_LINES then
obviously you'll need to add 2 vertices to draw an additional line segment.
Other than that I don't know what the problem is.
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466
-Original Me
Your bounding volume may not be correct. Try calling dirtyBound().
Brian
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CS
Well, it didntt work for me. :-(
I'm actaully calling osg::viewer::frame() a few 100x / ms, I turned off
DisplayLists for the geometry, did not call setVertexArray(vad), did not call
dirtyDisplayList() and the line is not being drawn at all now.
I've tried leaving setDisplayList (true) and call
Hello,all
Who can tell that What's the mime type of .ive file?
Thanks
Donlin___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
WOW! so simple. Excellent! Thxs Paul!:D
Allen
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10313#10313
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http
This comes up from time to time, and a search of the mailing list archives
should reveal that osgProducer is deprecated and has been removed from the
core OSG distribution. I'm not sure where the svn repo for osgProducer is,
but a search of the mailing list archives or maybe the web page should
rev
If you use osgViewer::Viewer::run(), then you're rendering constantly and
don't need to do anything else to tell it to redraw.
If you're using osgViewer::Viewer::frame(), then you need to call that
function.
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466
-Orig
Does anyone know if OSG supports multiple paging contexts into the same
database? For example let's say I have two different viewpoints (cameras)
positioned in a VPB database. Will each camera page in its own LOD which is
independent of the other even though they're accessing the same terrain
datab
I'm having a hard time reading the text in your attachment (maybe I'm going
blind) but it looks like there may be some info missing in the tif files.
Can you do a "gdalinfo" on the tif files and send us the output?
Either that or you could just attach the actual tif files and we can look at
the
Can,
I'll see if I can dig it up.
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
+1.703.652.4791
2009/4/16 Can T. Oguz
> Hi Glenn,
>
> >> I do have some code to convert the DIB to an image if you need help on
> that end of it.
>
> I need to convert a device independent bitmap t
apologize me, wrong path in the links :
actually these is my cmake setting :
http://www.geofemengineering.it/data/CMakeCache2.txt
http://www.geofemengineering.it/data/CMakeCache2.txt
i can see now in the log that the framework are linked in the c++
instruction, but the error log stil
Wow, that easy? ha, ha...
Paul, how does the "system" know when to redraw after I've added to the
vertices? Don't I have to tell it to redraw after I've added a vertex and
up'ed the vertex counter?
-vertex counter == osg::DrawArrays *vad;
-new vertices added to *vad w/ push_back() cmd
Paul
Adding -losg .. etc, do not works with frameworks
give me the error :
ld: library not found for -losg ... erc
I modified my cmake settings adding :
-framework framewor_name
to
CMAKE_MODULE_LINKER_FLAGS
and
CMAKE_SHARED_LINKER_FLAGS
as follow :
CMAKE_MODULE_LINKER_FLAGS:STRING=-framewor
Hi,
I am a beginner, I look at some tutorials and see that they require osgProducer
in their included files, but i can not find where the folder lies on OSG.
Anyone please sends me a osgProducer pakage which I can add into include folder
of my OSG.
Thanks in advance!
Regards!
Duong
-
Hi Glenn,
>> I do have some code to convert the DIB to an image if you need help on
that end of it.
I need to convert a device independent bitmap to osg::Image. Do you still
have that DIB to osg::Image stuff?
Regards,
Can
2008/5/14 Glenn Waldron
> Forest,
> You may need to convert the DDB to
Hi Massimo,
I thought you tried to build with Xcode. Since you didn't do so, you
can ignore "external framework" suggestion. Adding those path values
in your profile, IMO, shouldn't have any effect at all, because they
are examples.
I am not sure, but it may help; you may need to change cmake set
Ismail Pazarbasi wrote:
> Hi Massimo,
>
> I am not on my Mac right now, but I can quickly suggest you to add
> osg, osgText, osgIntrospection (and few more) frameworks to your
> executable to get you started as quick as possible.
I tried to build osg2.4 using cmake, without the xcode support,
Hi Massimo,
I am not on my Mac right now, but I can quickly suggest you to add
osg, osgText, osgIntrospection (and few more) frameworks to your
executable to get you started as quick as possible. I may not recall
all dependencies' names, as I am not on my development Mac; sorry!
Adding frameworks
Following the suggestion i find here :
http://code.google.com/p/osgswig/wiki/BuildInstructions
i compiled osg 2.4 version using xcode, the build produced the osg
framewrok, i copied them in the /Library/Framework directory.
then i downloaded osgswig,
cd osgswig
mkdir build
cd build
ccmake .
Following the suggestion i find here :
http://code.google.com/p/osgswig/wiki/BuildInstructions
i compiled osg 2.4 version using xcode, the build produced the osg framewrok, i
copied them in the /Library/Framework directory.
then i downloaded osgswig,
cd osgswig
mkdir build
cd build
ccmake ..
hello everyone,
Recently,i had a problem with Osg 2.8 static lib in VS2008. My test example
is osgstaticviewer.When the program exit,there is a crash.
The stack trace is below:
MyTest.exe!OpenThreads::Mutex::lock() + 0xa 字节 C++
MyTest.exe!osg::StateSet::removeParent() + 0x1f 字节 C
Hi All!
I have a problem generating whole planet elevation database from SRTM 1 km
source ( 43200x21600 )
and custom *.vrt file:
Gray
MSB
orthoplus.bin
osgdem command line looks like:
osgdem --geocentric --whole-globe -l 3 -d test.vrt
And this is what osgdem outputs:
--geocentri
On Apr 15, 2009, at 11:44 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/
MXDEC wrote:
I think it would be good to fold libmini (or something equivalent)
into OSG.
That way you can use the databases built with VPB. I don't know much
about
VTP but using VPB databases are nice...
Yes. I have
thanks, but it still doesn't work : /
"myst" was renamed by "stateset"
void Environment::set_fog(osg::Group* root)
{
fog->setMode(osg::Fog::LINEAR);
fog->setDensity(0.1f);
fog->setColor(osg::Vec4f(0.8f,0.8f,0.8f,1.0f));
fog->setStart(-20.0f);
fog->setEn
Thank you, ulrich.
Now I load texture files in camera callback and solve the problem.
I use ms3d models and render them by OpenGL. So I have to load model and
texture files by myself.
Thanks for your help.
Su Hu
2009/4/16 Ulrich Hertlein
> The reason for this is that you don't have a val
The reason for this is that you don't have a valid OpenGL context.
But apart from that is there a reason why you're trying to create the texture
yourself?
Instead of using, say, OSG for that?
/ulrich
On 16/4/09 6:58 AM, su hu wrote:
After glGenTextures, I use glGetError to get the error. The
On 16/4/09 8:47 AM, petr srom wrote:
I need to render back face of .ive models, in open GL is the syntax:
glEnable(GL_CULL_FACE);
glCullFace(GL_FRONT);
Is the syntax in OSG these way?
osg::StateSet *myst = new osg::StateSet();
myst->setMode(GL_CULL_FACE, osg::StateAttribute::ON);
myst->setMode(G
35 matches
Mail list logo