Robert Osfield
b8d7a3bf44
Added event handler to shader code so that alphaCuttOff, transparency and
...
sampleDensity are controlled via 'a', 't' and 'd' respectively.
2005-09-05 13:19:20 +00:00
Robert Osfield
efc4f2436f
Integrated shaders into source.
2005-09-05 10:40:04 +00:00
Robert Osfield
ab879525ef
Added all sides of the shader cube
2005-09-05 09:14:30 +00:00
Robert Osfield
7ed8bab8d4
Added preliminary GLSL shader path for volume rendering.
2005-09-05 07:48:55 +00:00
Robert Osfield
14980872a7
Standardised the Vec* class interfaces, and added num_components enum to aid
...
generic programming.
2005-09-04 11:17:00 +00:00
Robert Osfield
e404b95dc3
Added support in osgTerrain/osgdem for setting the image format to use when writing tiles out to disk
2005-09-04 06:36:52 +00:00
Robert Osfield
d58487c763
Changed red()/green()/blue()/alpha() to r()/g()/b()/a() for greater consistency
...
across Vec* classes and with OpenGL Shander Lanaguage.
2005-09-03 20:56:25 +00:00
Robert Osfield
6391691be6
Added release() to all GraphicsOperations in GraphicsThread.
2005-09-03 20:54:32 +00:00
Robert Osfield
2ea5d71d82
Added commandline arguments for controlling number of cameras through to the windowing library to use.
2005-09-02 20:06:11 +00:00
Robert Osfield
4167a3f980
Added clean up class to help improve the exit of GraphicsThread
2005-09-02 13:10:46 +00:00
Robert Osfield
21cabaf5f6
Renamed osgUtil::RenderStageLighting osgUtil::PositionalStateContainer
2005-09-02 10:35:38 +00:00
Robert Osfield
ce3bfff46a
Removed redundent code.
2005-09-01 19:55:41 +00:00
Robert Osfield
caaeaee321
Fixed typo
2005-09-01 19:12:06 +00:00
Robert Osfield
2bafaea60a
Added osgcamera projects
2005-09-01 06:19:03 +00:00
Robert Osfield
727e55a63a
Removed circular reference of osg::CameraNode, fixing memory leak. Added
...
a auto exit after a maximum number of frames are completed.
2005-08-31 20:39:05 +00:00
Robert Osfield
a420782199
Added osgSim::OverlayNode setup in osgsimulation, and added preliminary test
...
code to the osgSim::OverlayNode to test osgsimulation/the architecture.
2005-08-31 15:04:27 +00:00
Robert Osfield
af7eba1a7f
Set number of cameras to 3.
2005-08-31 13:43:29 +00:00
Robert Osfield
7fc95ddae7
Added graphics context pointer to osg::Texture in prep for support for Pbuffer
...
Render To Texture.
2005-08-31 12:56:15 +00:00
Robert Osfield
8686ed3136
Disable the glFinishBarrierOp usage as glFinish was spin locking the CPU :-|
2005-08-31 12:49:23 +00:00
Robert Osfield
c1ebc87c2c
Seperated 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.
2005-08-31 10:55:58 +00:00
Robert Osfield
3b065bc163
Add comments explain how example works.
2005-08-31 09:21:34 +00:00
Robert Osfield
c02e91c1b4
Added support for GrapicsOpeations that are reused each frame, cleaned up
...
osgcamera example.
2005-08-30 22:28:30 +00:00
Robert Osfield
994192657a
Compile fix.
2005-08-30 19:20:19 +00:00
Robert Osfield
07c7e37426
From Colin McDonald, fix for big endian systems
2005-08-30 19:19:49 +00:00
Robert Osfield
f9bcde3cf0
Added name and keep member variables to osg::GraphicsThread::Operation to allow
...
the names of the operations to be logged for stats purposes, or used when
do searches of the operation list. The keep member variable tells the graphics
thread run loop wether to remove the entry from the list once its been called.
2005-08-30 19:03:02 +00:00
Robert Osfield
aba3b4fa67
Clean up and fixes to GraphicThread class, and osgcamera example.
2005-08-30 14:41:08 +00:00
Robert Osfield
3810d3b850
From Norman Vine, fixed small typo.
2005-08-30 09:33:42 +00:00
Robert Osfield
ceadd41ef1
Fixed reading and writng of data.
2005-08-29 20:38:46 +00:00
Robert Osfield
492956d73e
Added scratch pad reset.
2005-08-29 20:16:15 +00:00
Robert Osfield
6e39f9f475
Implement a scratch pad for writing and read data to, to solve issue between
...
running a master and slave on a mix of 32bit and 64bit.
2005-08-29 19:57:02 +00:00
Robert Osfield
9f740f7397
Improved support for keyboard/mouse events in osgcluster.
2005-08-29 14:05:30 +00:00
Robert Osfield
2e84f10b21
Added extra debug info.
2005-08-29 12:25:16 +00:00
Robert Osfield
ffb06a8c49
Added extra access methods on osgProducer::KeyboardMouseCallback, and added
...
support for reading and writing keyboard/mouse events in osgcluster.
2005-08-29 12:05:17 +00:00
Robert Osfield
b316dc30e8
Disabled the pbuffer graphics thread.
2005-08-28 19:07:09 +00:00
Robert Osfield
48a9a395bb
From Marco Jez, fixed typo of OverlayNode.cpp.
2005-08-28 15:49:58 +00:00
Robert Osfield
f3be713d66
Added OveralyNode into VS project file, and fleshed out more code in the OveralyNode implementation.
2005-08-26 20:01:21 +00:00
Robert Osfield
42752347aa
Added beginings of new OverlayNode, for managing a render to texture which is
...
then used to overaly other parts of the scene such as terrain.
2005-08-26 14:00:02 +00:00
Robert Osfield
ee4d2128da
Added --num-components <num> option.
2005-08-26 13:26:02 +00:00
Robert Osfield
16e777b69b
From Farshid Lashkari, fixed warnings.
2005-08-26 08:48:54 +00:00
Robert Osfield
7e0781d0c8
From Farshid Lashkari, added istream support to JPEG plugin.
2005-08-25 19:23:58 +00:00
Don BURNS
5f27216e7e
made removeExpiredSubgraphs virtual.
2005-08-25 18:18:27 +00:00
Robert Osfield
d154c2a4cd
From Eric Sokolowsky, warning fixes for g++ 4.0 under Fedora Core 4.
2005-08-25 17:53:01 +00:00
Robert Osfield
fb96298355
From Farshid Lashkari, Support for reading TIF images from stream, and support
...
from reading and writing RGB image to/from stream.
2005-08-25 14:37:21 +00:00
Robert Osfield
be285c62c0
Added support for rapid movement of the emitter, with particle now seeding between
...
the position of the emitter in the previous frame and the new position in the new
frame, the number of particles added also scales up to compensate for this movement.
2005-08-25 14:12:08 +00:00
Robert Osfield
320d0f67e4
Removed old commented out code.
2005-08-24 19:21:12 +00:00
Robert Osfield
dedf81fa51
From Domenico Mangieri, added constructor.
2005-08-24 19:20:36 +00:00
Robert Osfield
f4dd930376
From Gordon Tomlinson:
...
"
This fixes some crashing issues I was having with certain FLT files that only had partial colour palettes
Which are typically found in older 14.x files and file converted through Polytrans or Deep exploration etc.
The code that grabs the color entries in ConvertFromFLT::visitColorPalette was assuming that there were full
palettes always coming in and stepping was out of bounds in certain cases (not all) and thus crashing with
access violations etc,
Although the normal from Creator is to have 1024 or 512 entries , this is not a really requirement of the format, just the way Creator creates its default palettes etc.
Code changed to look at the number of entries and use just those and fills in any missing entries with a default white colour"
2005-08-24 11:53:13 +00:00
Robert Osfield
e7c6a03bb2
From Farshid Lashari, added support for reading from std::istream's to the BMP, GIF, PNG and TGA image plugins
2005-08-24 10:48:24 +00:00
Robert Osfield
3ac94784fc
From Geoff Michel, added normal definition for tesselation
2005-08-22 15:13:04 +00:00
Robert Osfield
6e167c0db7
From Carlo Camporesi, fixed .ive handling of character height and aspect ratio.
2005-08-22 14:13:28 +00:00