scrawl
17a0353a85
Fix forward declaration mismatch
9 years ago
Aesylwinn
14ae232938
Remove now unnecessary factory class.
...
It was originally used for storing normals, but that functionality
was removed.
9 years ago
Aesylwinn
b11f5b2717
Make edges differently colored.
9 years ago
Aesylwinn
0eb863d8fc
Change color to blue to match the pathgrid visibility selector in the
...
editor and slightly increase the scaling.
9 years ago
Aesylwinn
7f0cc6e583
Add a color gradiant to pathgrid nodes to make them less of an eyesore.
9 years ago
Aesylwinn
3d26ff08c4
Get rid of lighting.
9 years ago
Aesylwinn
d141672b53
Pathgrid geometry creator
9 years ago
scrawl
2f8be401cc
Add the unref work items to the front of the workqueue (Bug #3273 )
...
Ensures that memory still gets freed even if the workqueue is overloaded.
9 years ago
scrawl
8052225460
Remove leftover call to setTexCoordArrayList
9 years ago
scrawl
cc0afe901f
Store a pointer to tangents array to avoid potential type casting issue
9 years ago
scrawl
d1f6169889
Add special handling of RigGeometry tangents in ShaderVisitor
9 years ago
scrawl
95e80e7eff
RigGeometry: don't directly modify the primitive set list
...
This is to ensure that an element buffer object will be assigned to the primitive sets if necessary.
9 years ago
scrawl
c73ec71123
Revert "Store the RigGeometry's source vertices and normals directly"
...
This reverts commit 7a347e3483
.
9 years ago
scrawl
60c8c4fdda
Revert "Animate tangents in RigGeometry"
...
This reverts commit 9cf963b751
.
9 years ago
scrawl
9cf963b751
Animate tangents in RigGeometry
9 years ago
scrawl
7a347e3483
Store the RigGeometry's source vertices and normals directly
9 years ago
scrawl
d986b1a48b
Add comment
9 years ago
scrawl
1abb77f8a1
Cleanup
9 years ago
scrawl
9f03982e0b
Use a dedicated VBO for RigGeometry's vertices and normals
...
The VBO used by the source geometry's arrays may be unintentionally shared with other RigGeometries.
The vertices and normals are the only attributes that are modified at all, so using a dedicated VBO for these should improve performance further.
9 years ago
scrawl
50b8260a39
Disable VBOs in RigGeometry while investigating a crash possibly related to commit cda8a88f0d
9 years ago
scrawl
4eb090a8d0
Set the RigGeometry vertex buffer object usage to GL_DYNAMIC_DRAW
9 years ago
scrawl
174dd82894
Manually apply the osg::Light state
...
Reduce the amount of virtual function calls. Don't use the osg::Light's lightNum. Don't set spotlight state that we're not using (yet).
9 years ago
scrawl
58e0e8bd4e
Enable vertex buffer objects in RigGeometry
9 years ago
scrawl
f898bf493f
Don't use Geodes
9 years ago
scrawl
137dde7cf8
Include cleanup
9 years ago
scrawl
0df975a4d7
Properly detach nodes in CopyRigVisitor ( Fixes #3234 )
9 years ago
scrawl
563807ee53
Share the StateSet used to invert front face
9 years ago
scrawl
8791063110
Fix "RigGeometry rendering with no skeleton" warnings in rare cases
9 years ago
scrawl
1e5b4bea0a
Don't create an unnecessary osg::Group when copying over a rig
9 years ago
scrawl
90a99991d1
Use empty() instead of !size()
9 years ago
scrawl
3e854a84a2
Slightly more efficient applying of light state
9 years ago
scrawl
f93b7ec943
Fix light state issue
...
GLSL does not respect gl_Disable(GL_LIGHTX), so we have to set unused lights to zero.
Sadly, this change makes the applying of the modelView matrix less efficient. So far I couldn't find a better solution, osg's state tracker keeps getting in the way. :(
9 years ago
scrawl
9376811213
Vertex lighting shader
9 years ago
scrawl
c4d38bb42d
Fix clang analyzer warnings
9 years ago
scrawl
5824619a95
Clean up includes
9 years ago
scrawl
8b596dfcbe
Remove support for OSG 3.2
...
Since commit e8662bea31
, we're using OSG functionality that contains an unfixed crash bug in version 3.2. The bug is fixed in version 3.4 (OSG commit 6351e5020371b0b72b300088a5c6772f58379b84)
9 years ago
Marc Zinnschlag
da6dcfc49e
Merge remote-tracking branch 'scrawl/resource'
9 years ago
scrawl
afe533e670
Accept a const Object in UnrefQueue
9 years ago
scrawl
40a6e05e17
Use a deque instead of vector in UnrefQueue
9 years ago
scrawl
d11c2864df
Introduce UnrefQueue to handle the deleting of no longer needed objects in the background thread
9 years ago
scrawl
84f01b7527
Remove unneeded forward declaration
9 years ago
scrawl
b7e69cbc64
Refactor WorkQueue, merge WorkTicket and WorkItem
...
Allow the caller to hold on to the WorkItem. This makes it possible for a derived WorkItem to store the result of the work within the WorkItem itself.
9 years ago
scrawl
e02f35264f
Work around OSG 3.2 not respecting the DEEP_COPY_CALLBACK flag ( Fixes #3183 )
9 years ago
scrawl
8360cccce7
Don't clone Drawable UpdateCallbacks twice
...
The Drawable copy constructor takes care of that already.
9 years ago
scrawl
aec8c38461
Move observer_ptr include where it belongs
9 years ago
Tobias Kortkamp
0659687bfb
Some fixes for building on FreeBSD
9 years ago
scrawl
458a305bff
OpenCS: add lighting mask
9 years ago
scrawl
e1c7165bfb
Fix bounds calculation for addLight to a transform node
9 years ago
scrawl
93cc08a09c
Lighting fix for LightListCallbacks attached to a Transform node
9 years ago
scrawl
3089aeccc4
Factor out SceneUtil::addLight
9 years ago