18d680d01fImproved the UpdateCameraAndTexGenCallback so it properly handles rotation and translations within the reflector nodepath.
Robert Osfield
2005-10-06 20:02:18 +00:00
808511468bFrom Brede Johansen, added support for PolygonMode into .ive format.
Robert Osfield
2005-10-06 15:43:29 +00:00
449333b5d3Changed the fallback code to use the result form the realize() call, removed the code path from running a PBuffer as a seperate graphics context (this was found to be slower than running single threaded so its not worth the extra complexity).
Robert Osfield
2005-10-06 15:41:47 +00:00
3bf7cba453Added env var reporting for the OSG_CAMERA_THREADING and OSG_SHARE_GRAPHICS_CONTEXTS env vars.
Robert Osfield
2005-10-06 13:31:23 +00:00
1a152afda0Added catch for disabling ThreadPerCamera when contexts are shared.
Robert Osfield
2005-10-06 13:20:08 +00:00
a380a49509Improved the fallback mechanism from FBO, down to PBuffer_RTT down to PBuffer down to frame buffer.
Robert Osfield
2005-10-06 11:26:07 +00:00
5cb66efc86Moved the testing and setting up of FBO/Pbuffer extension from CullVisitor to support into RenderStage to allow better fallback implementations.
Robert Osfield
2005-10-05 16:21:51 +00:00
4b43b22c5aAdded support for CameraView into NodeVistor, and support for CameraNode and CameraView into the AnimationPathCallback so you can now animate both via animation paths.
Robert Osfield
2005-10-05 09:48:53 +00:00
cf2974329fAdded code paths for PBuffer RTT support.
Robert Osfield
2005-10-04 18:50:00 +00:00
8e9ffd09afAdded osg::CameraView to help application/modellers position their cameras in scenes. Note, CameraView is *not* a camera, it isn't an active object, but a passive one that camera must track each frame to following the path of the CameraView.
Robert Osfield
2005-10-04 13:41:20 +00:00
ff9ace16b4From Keith Steffen, fixed bug in StateSet::clear() where parents of texture attributes where not being reset correctly due to incorrect ordering of _textureAttributeList.clear().
Robert Osfield
2005-10-03 19:37:54 +00:00
e749839061From MFM, Added FreeBSD specific implementation for getGLExtensionFuncPtr using dlsym(RTLD_DEFAULT, xxx)
Robert Osfield
2005-10-03 19:33:54 +00:00
436521e205Added a couple of (double) casts for VS7 build.
Robert Osfield
2005-10-03 19:24:12 +00:00
ef093bd5e5Added closing of loops.
Robert Osfield
2005-10-03 19:18:53 +00:00
ba5c7cdc91Added fusing of ends of lines
Robert Osfield
2005-10-03 16:13:26 +00:00
550bb4b74eImproved handling of convex azim ranges.
Robert Osfield
2005-10-03 13:19:03 +00:00
c401e31bd8Added test cases for SphereSegment intersection code.
Robert Osfield
2005-10-01 19:28:34 +00:00
e2f2960704Added a dirtyDisplayList() to the setColor() and setTesselationHint() methods.
Robert Osfield
2005-10-01 19:27:52 +00:00
024b43b017Adding handling of case of convex azimuth side ways of sphere segment.
Robert Osfield
2005-10-01 12:23:10 +00:00
06401ba129Changed the line intersection algorithm to computer full line intersections then trim down to size by intersecting with the sphere segmenet sufaces
Robert Osfield
2005-09-30 19:36:22 +00:00
913dccc14cFix to intersection code.
Robert Osfield
2005-09-29 15:55:55 +00:00
e18cb598e6Updated wrappers.
Robert Osfield
2005-09-29 13:07:26 +00:00
fc675f7706From Marco Jez, fix for gcc build.
Robert Osfield
2005-09-29 13:00:23 +00:00
400b0ab809Fixed typo of Primitive
Robert Osfield
2005-09-29 10:25:44 +00:00
7ac71b939fAdded setOverlayClearColor and setTexEnvMode and automatic set up of TexEnv.
Robert Osfield
2005-09-29 10:22:06 +00:00
76058f747cFrom Marco Jez, added fallback to TextureCubeMap subloading that calls load when mipmaps are required, but non are present.
Robert Osfield
2005-09-29 09:49:20 +00:00
d82d598115Fixed typo of CameraNode::setRenderTargetImplementation(..)
Robert Osfield
2005-09-29 09:36:51 +00:00
b38f491c12From Volker Walkiewicz (with tweaks from Robert Osfield):
Robert Osfield
2005-09-28 16:05:35 +00:00
3ef0406105From Marco Jez, "Problems fixed:
Robert Osfield
2005-09-28 14:18:31 +00:00
f26c3da074From Chris Hanson, "The following files are drop-in replacements for the include/*/Export files to permit building statically linked osg libraries under Win32."
Robert Osfield
2005-09-28 14:05:05 +00:00
97f6a82b1eFrom Leandro Motta Barros: fixed type of ATTRIBUTE_*
Robert Osfield
2005-09-28 13:55:22 +00:00
52dea86a3eFrom A. Botorabi, "slightly modified osgUtil's TangentSpaceGenerator class to allow the option for using or not using geom's indices for tangent space vectors generation. now, Ruben's code is also used (it was disabled before). in order to keep backward compatibility, the compute method behaves as before in default case."
Robert Osfield
2005-09-28 13:53:54 +00:00
9e5eed280dFrom Joran Jessurun, comments explaining font search rules
Robert Osfield
2005-09-28 13:45:32 +00:00
b5c4605d1cFrom Joran Jessurun, added font search fallbck that strips the leading path from the font file and then looks again.
Robert Osfield
2005-09-28 13:39:26 +00:00
05528abf25From Chris Hanson:
Robert Osfield
2005-09-28 13:33:58 +00:00
3c88b0cae9Added degugging methods.
Robert Osfield
2005-09-27 20:28:42 +00:00
2092016c7bFrom Don Tidrow, Added support for locally referenced origins.
Robert Osfield
2005-09-27 14:48:09 +00:00
600349dce8Various improvements to the sphere segment intersection code.
Robert Osfield
2005-09-27 12:15:40 +00:00
5731ea2352Set the defaul clear colour to 0,0,0,0.
Robert Osfield
2005-09-26 11:24:37 +00:00
07d7d39eb5Added TexEnv DECAL mode.
Robert Osfield
2005-09-26 11:24:14 +00:00
0fb2e7adc0From Mike Weiblen, fixes from VS 7.1 build.
Robert Osfield
2005-09-25 20:41:56 +00:00
e17ac7a8d9Brede's changes for limited morphed vertex support. These changes allow a model with morphed vertecies to load correctly with LOD switches, but does not implement the vertex morphing.
Don BURNS
2005-09-24 16:11:55 +00:00
f1125f7b4dImprovements to the clipping of polygons at boundary edges.
Robert Osfield
2005-09-24 14:53:22 +00:00
e77ec7f96bFurther work on intersection code.
Robert Osfield
2005-09-21 14:38:36 +00:00
d13306e885Added multiple intersect triangle visualization for testing purposes.
Robert Osfield
2005-09-19 19:49:23 +00:00
30478f0fefFrom Mike Weiblen: support for OSGHANGGLIDE_REVERSE_CONTROLS env which reverses the pitch and roll control to account from Mike's "unique" way of flying hang gliders :-)
Robert Osfield
2005-09-19 15:33:25 +00:00
871cc70c32From Ravi Mathur, added extension checks for point sprite support. From Robert Osfield, tweaks of the above to use osg::buffer_object and a local struct to store initialized to help with multi-thread and out of order context usage.
Robert Osfield
2005-09-19 15:28:31 +00:00
d1108ea862Added support for "-O OutputTextureFiles" options string in .osg plugin to allow texture files to be written out when writing out a .osg file.
Robert Osfield
2005-09-19 14:07:44 +00:00
ea1ea88a17Added countMultipleIntersections to help with debugging.
Robert Osfield
2005-09-19 13:15:59 +00:00
3a1ce55de6Improved the region classifaction of the intersection code.
Robert Osfield
2005-09-17 18:50:26 +00:00
68d22f8de7Improved accuracy of spheresegment to mesh intersections uses mathematical models of surface geometry.
Robert Osfield
2005-09-16 14:52:56 +00:00
a154348d9aAdded Azimuth and Elevation intersector functors.
Robert Osfield
2005-09-16 09:28:22 +00:00
34986dedf0Changed destinationRowDelta and destination_pixelSpace to int's, solving a memory corruption crash under 64 bit build.
Robert Osfield
2005-09-15 20:55:35 +00:00
d2f98ef56eAdded line connectivity code.
Robert Osfield
2005-09-15 20:03:37 +00:00
b8ce046f88Moved copyLeavesFromRenderGraphListToRenderLeafList into public.
Robert Osfield
2005-09-15 09:03:14 +00:00
8dc8dcb95fAdded querry of video size during open() call and associated allocImage to ensure that the imagestream passed back is of a valid size.
Robert Osfield
2005-09-12 19:42:36 +00:00
d2ae4d692dFrom Henrique Bucher, add check against null light entry in LightPool.
Robert Osfield
2005-09-11 19:12:54 +00:00
141f8a70d7From Farshid Lashkari, append "\fonts" to end of windows font search path.
Robert Osfield
2005-09-11 19:08:41 +00:00
e2361865fcFrom Sondra Iverson, "The options to rewind/restart and to toggle looping in the osgmovie example have been implemented. "
Robert Osfield
2005-09-11 19:05:30 +00:00
9eaaa55d05converted hardware tabs to spaces.
Robert Osfield
2005-09-11 19:02:20 +00:00
f686395012From Sonda Iverson, fix for repeated pause/unpause toggleing in Xine plugin
Robert Osfield
2005-09-11 19:00:57 +00:00
1def1e0d53From Joran Jessurun, fix to let the Viewer::computeNearFarPoints function work correctly when used with multiple camera's on one render surface.
Robert Osfield
2005-09-10 13:07:08 +00:00
f32984fefeRemoved some debugging messages
Robert Osfield
2005-09-10 12:51:18 +00:00
4a47a79c23Added more intersection testing code.
Robert Osfield
2005-09-10 12:51:03 +00:00
77ab99e23cAdded initial ESRIShape file loader.
Don BURNS
2005-09-09 20:26:50 +00:00
196eafd70bRemoved duplicate typedef.
Robert Osfield
2005-09-09 15:42:48 +00:00
745834c329Added triangle index functor to src/osgUtil/SphereSegment.cpp for computing the intersection between an indivual geometry and the sphere segment.
Robert Osfield
2005-09-09 11:13:40 +00:00
67e8e0b287Added PolytopeVisitor to SphereSegment.cpp to help cull down to only drawables that intersect with the frustum of the SphereSegment. PolytopeVisitor may eventually be pulled out to be more generally used along the lines of osgUtil::IntersectVisitor.
Robert Osfield
2005-09-08 18:56:37 +00:00
559219f519Added initial interface for computing intersections between sphere segments and terrain.
Robert Osfield
2005-09-08 13:10:04 +00:00
765db1998cAdded support for cullable state, that uses a polytope to define the extents of objects that will be influenced by it.
Robert Osfield
2005-09-07 16:18:43 +00:00
58112d9591Added a grid of lines into the OverlaySubgraph to demonstate use the OverlayNode for applying general drawing onto terrain.
Robert Osfield
2005-09-06 20:28:53 +00:00
4e6a8cfcd5Added s/getContinousUpdate(bool) method to OverlayNode.
Robert Osfield
2005-09-06 19:54:29 +00:00
5283c11f8aAdded osgSim::OverlayNode to osganimate and osgspheresegment examples, and added support for setting texture size hint and coping with scene graphs with CoordinateSystemNode in them.
Robert Osfield
2005-09-06 15:48:18 +00:00
db24ea247cChanged #if
Robert Osfield
2005-09-05 13:27:48 +00:00
4795fb88e6Added checking of EventVisitor type
Robert Osfield
2005-09-05 13:26:50 +00:00
48c83869c6Fixed VisitorType of EventVisitor
Robert Osfield
2005-09-05 13:23:27 +00:00
b8d7a3bf44Added event handler to shader code so that alphaCuttOff, transparency and sampleDensity are controlled via 'a', 't' and 'd' respectively.
Robert Osfield
2005-09-05 13:19:20 +00:00
efc4f2436fIntegrated shaders into source.
Robert Osfield
2005-09-05 10:40:04 +00:00
ab879525efAdded all sides of the shader cube
Robert Osfield
2005-09-05 09:14:30 +00:00
7ed8bab8d4Added preliminary GLSL shader path for volume rendering.
Robert Osfield
2005-09-05 07:48:55 +00:00
14980872a7Standardised the Vec* class interfaces, and added num_components enum to aid generic programming.
Robert Osfield
2005-09-04 11:17:00 +00:00
e404b95dc3Added support in osgTerrain/osgdem for setting the image format to use when writing tiles out to disk
Robert Osfield
2005-09-04 06:36:52 +00:00
d58487c763Changed red()/green()/blue()/alpha() to r()/g()/b()/a() for greater consistency across Vec* classes and with OpenGL Shander Lanaguage.
Robert Osfield
2005-09-03 20:56:25 +00:00
6391691be6Added release() to all GraphicsOperations in GraphicsThread.
Robert Osfield
2005-09-03 20:54:32 +00:00
2ea5d71d82Added commandline arguments for controlling number of cameras through to the windowing library to use.
Robert Osfield
2005-09-02 20:06:11 +00:00
4167a3f980Added clean up class to help improve the exit of GraphicsThread
Robert Osfield
2005-09-02 13:10:46 +00:00
21cabaf5f6Renamed osgUtil::RenderStageLighting osgUtil::PositionalStateContainer
Robert Osfield
2005-09-02 10:35:38 +00:00
ce3bfff46aRemoved redundent code.
Robert Osfield
2005-09-01 19:55:41 +00:00
caaeaee321Fixed typo
Robert Osfield
2005-09-01 19:12:06 +00:00
2bafaea60aAdded osgcamera projects
Robert Osfield
2005-09-01 06:19:03 +00:00
727e55a63aRemoved circular reference of osg::CameraNode, fixing memory leak. Added a auto exit after a maximum number of frames are completed.
Robert Osfield
2005-08-31 20:39:05 +00:00
a420782199Added osgSim::OverlayNode setup in osgsimulation, and added preliminary test code to the osgSim::OverlayNode to test osgsimulation/the architecture.
Robert Osfield
2005-08-31 15:04:27 +00:00
af7eba1a7fSet number of cameras to 3.
Robert Osfield
2005-08-31 13:43:29 +00:00
7fc95ddae7Added graphics context pointer to osg::Texture in prep for support for Pbuffer Render To Texture.
Robert Osfield
2005-08-31 12:56:15 +00:00
8686ed3136Disable the glFinishBarrierOp usage as glFinish was spin locking the CPU :-|
Robert Osfield
2005-08-31 12:49:23 +00:00
c1ebc87c2cSeperated out the cull and draw traversals into their own operations, and added a glFinishBarrierOp which can be placed between the cull and the draw or after swap.
Robert Osfield
2005-08-31 10:55:58 +00:00
3b065bc163Add comments explain how example works.
Robert Osfield
2005-08-31 09:21:34 +00:00
c02e91c1b4Added support for GrapicsOpeations that are reused each frame, cleaned up osgcamera example.
Robert Osfield
2005-08-30 22:28:30 +00:00
994192657aCompile fix.
Robert Osfield
2005-08-30 19:20:19 +00:00
07c7e37426From Colin McDonald, fix for big endian systems
Robert Osfield
2005-08-30 19:19:49 +00:00