[
https://issues.apache.org/jira/browse/GEOMETRY-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116730#comment-17116730
]
Gilles Sadowski commented on GEOMETRY-95:
-----------------------------------------
bq. Information such as per-facet attributes is lost when facets are inserted
into a BSP tree since the facets are manipulated (split and/or expanded) during
insertion. [...]
I don't doubt that the per-facet attributes feature is an afterthought, not
easily included in the design.
For sure, many applications would need a way to recover original attributes.
This is the case in the use-case which I outlined: The projected facets provide
the area by which the original quantity (e.g. "luminosity") is weighted.
bq. If the end goal is to render a 3D scene, [...] I would [...] use the
linecasting functionality to create a ray-tracing implementation.
Maybe, but the issue is the performance; the expectation was that projection
would have been (much?) faster.
In my case, the "rendering" must be done for ~5000 facets (or more) for each of
~70 data points in a time series, driven by an optimizer trying to fit the
parameters that describe the scene. In addition, _some_ of the facets "know"
(by another means) whether they are visible or not; this alternative algorithm
would be expected to provide more precise values for facets that are only
_partially_ visible...
bq. 1. Load a 3D model from a file, perform some transformations and [...]
Sure, a necessary step to allow experimenting.
bq. 2. Demonstrate the linecasting functionality [...] would be little more
than a fun toy implementation [...]
Then, I'd suggest to not spend time on this track.
Better improve the usability of the first track, with an eye towards preparing
suitable input files for full-featured rendering engines (with examples
generated by those softwares).
> CSG Examples
> ------------
>
> Key: GEOMETRY-95
> URL: https://issues.apache.org/jira/browse/GEOMETRY-95
> Project: Apache Commons Geometry
> Issue Type: New Feature
> Reporter: Matt Juntunen
> Priority: Major
> Labels: beta1
>
> Adding Constructive Solid Geometry examples and userguide entries to help new
> users to the library use these features.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)