Comments (12)
radius is not transformed ? (means we assume a uniform scale transformation here ? should be said in comments at least. )
You are rigth, that's a bug, radius should be recalculated, not only the bs center.
aren't we forgetting big object intersecting multiple planes case ?
Yep, but it works for the vast majority of the cases, not sure if it is worth to do the extratests. Do you have an example of the culling not working ok with a Big Object?
from osgjs.
Ok @Kuranes could you add push a test that fails, it should be good to fix this to avoid surprise when working with culling
from osgjs.
Added on my todo list.
from osgjs.
@Kuranes Ok, I think I understand it now, we are not culling objects that maybe could be culled. For that we can add a second culling pass using BoundingBoxes, not sure if it is better to do it or not (obviously writting some comments about that possible false positive). Thoughts?
from osgjs.
My guess is that it's really better to have it.
But it would indeed make much more sense with a spatial partition tree (octree/kdtree cull much faster if doing it like that), or for special nodes like paging terrain, so maybe that could be reserved for those types of node. ( hierarchical node scene graph should benefits too, but not as much as bbox are typically more tight)
from osgjs.
Paging terrain is something that I will need to address sooner than later,
for now it works well with pointcloudviz. I'm using an regular octree
so upper nodes have less vertex than bottom ones. That also probably will
be my use case for terrains, but I might see if it becomes an overhead.
For now I don't think it is a blocker. In my opinion a comment should be
enough for the next release. @cedricpinson
El miércoles, 15 de octubre de 2014, Tuan Kuranes [email protected]
escribió:
My guess is that it's really better to have it.
But it would indeed make much more sense with a spatial partition tree
(octree/kdtree cull much faster if doing it like that), or for special
nodes like paging terrain, so maybe that could be reserved for those types
of node. ( hierarchical node scene graph should benefits too, but not as
much as bbox are typically more tight)—
Reply to this email directly or view it on GitHub
#149 (comment).
Jordi Torres
from osgjs.
I am not sure to follow if it's a bug or if it's an improvement. How it is
implemented in osg?
On Oct 15, 2014 5:10 PM, "Tuan Kuranes" [email protected] wrote:
My guess is that it's really better to have it.
But it would indeed make much more sense with a spatial partition tree
(octree/kdtree cull much faster if doing it like that), or for special
nodes like paging terrain, so maybe that could be reserved for those types
of node. ( hierarchical node scene graph should benefits too, but not as
much as bbox are typically more tight)—
Reply to this email directly or view it on GitHub
#149 (comment).
from osgjs.
Well it's not a bug, as we are not missing any node to be painted. We are
culling less than we can.
El miércoles, 15 de octubre de 2014, Cedric Pinson [email protected]
escribió:
I am not sure to follow if it's a bug or if it's an improvement. How it is
implemented in osg?
On Oct 15, 2014 5:10 PM, "Tuan Kuranes" <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:My guess is that it's really better to have it.
But it would indeed make much more sense with a spatial partition tree
(octree/kdtree cull much faster if doing it like that), or for special
nodes like paging terrain, so maybe that could be reserved for those
types
of node. ( hierarchical node scene graph should benefits too, but not as
much as bbox are typically more tight)—
Reply to this email directly or view it on GitHub
#149 (comment).—
Reply to this email directly or view it on GitHub
#149 (comment).
Jordi Torres
from osgjs.
-> radius transformation is a bug
-> culling not all possible cullable not a blocking visible bug, just less precise. Worst case is shadow mapping when you try to get the smallest possible frustum for shadow map precision and might end with a quite bigger one...
from osgjs.
Agreed, that's what I meant. I'm fixing the radius transformation stuff just now.
from osgjs.
@Kuranes #150 should fix the transformation issue, could you test at your end?
from osgjs.
Thanks
from osgjs.
Related Issues (20)
- TurboActivate: not connecting to LimeLM servers HOT 1
- can't read status Typed Array Uint32Array error? HOT 2
- Model completely without textures HOT 2
- Webgl issue
- The problem for loading zip
- Reading OpenDrive files
- Polytope intersection sometimes miss with triangles HOT 2
- Building WebGL libraries that work with each other in the same webgl context. HOT 1
- Polytope Intersector fail HOT 1
- About mymap.earth and kml HOT 2
- OSGJS tutorials on codepen are broken HOT 3
- How to convert osgjs format to obj or similar formats? HOT 5
- How to speedup computeIntersections? HOT 2
- Documentation missing HOT 3
- Cache of program does not allow multiple osgjs/webgl context
- WebVR
- PagedLOD Uncaught TypeError: this.children[j].accept is not a function HOT 5
- Is it possible to add typescript definition file? HOT 3
- Blending
- osgjs029 can't work OpenSceneGraph 3.5.6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osgjs.