[x3d-public] [x3dom-users] 3D wrong visualization

Cris Lacumba cris.lacumba at gmail.com
Tue Mar 22 04:14:42 PDT 2016


Hi,

There has been some update in this topic?

How can I do it without making a triangulation?

Thanks in advance

Best regards

2015-12-04 14:28 GMT+01:00 Andy Yeh <a.yeh at qut.edu.au>:

> Hi All,
>
> I believe this should have been fixed with the PR #581
> https://github.com/x3dom/x3dom/pull/581 by Andreas Plesch.
> If you use the current dev version of x3dom
> http://x3dom.org/download/dev/x3dom.js the polygons should render
> correctly.
>
> --
> Andy
>
> On 4 Dec 2015, at 7:53 PM, Bederov, Sergey <bederov at cortona3d.com> wrote:
>
> Hello Cris and all,
>
> Apparently X3DOM is having problems rendering large non-convex polygons,
> even if convex=“false”. Try triangulating the red polygon or separating it
> into smaller pieces.
>
> A note to X3DOM developers. In the source code I have found the following
> line:
>
> while(linklist.length >= 3  && count < 15) {
>
> Apparently the “15” was added to avoid infinite recursion. In fact, it is
> limiting the number of “ears” clipped from the non-convex polygon. If a
> polygon is too complex, the algorithm tessellates a number of “ears” and
> then stops, leaving the remaining “ears” and the interior of the polygon
> empty. Increasing this value to 30 renders Cris’s polygon correctly.
> Anyway, I think it’s not a good solution because the polygons can have
> arbitrary complexity. Probably a different mechanism of detecting infinite
> recursion should be used?
>
>
>
>                                                                     Sergey
> Bederov
>
>
> *From:* x3d-public [mailto:x3d-public-bounces at web3d.org
> <x3d-public-bounces at web3d.org>] *On Behalf Of *Roy Walmsley
> *Sent:* Wednesday, December 02, 2015 6:23 PM
> *To:* 'Cris Lacumba'; 'x3dom mlist'; x3d-public at web3d.org
> *Subject:* Re: [x3d-public] 3D wrong visualization
>
> Cris,
>
> I don’t know the answer, but I can suggest some questions.
>
> Are your polygons being drawn on both sides? When you look at the X3DOM
> visualization, are the polygons being drawn on the other side?
>
> How are you specifying the polygons in your model? Are you able to supply
> a listing of the model?
>
> Regards,
>
> Roy
>
> *From:* x3d-public [mailto:x3d-public-bounces at web3d.org
> <x3d-public-bounces at web3d.org>] *On Behalf Of *Cris Lacumba
> *Sent:* 02 December 2015 11:44
> *To:* x3dom mlist; x3d-public at web3d.org
> *Subject:* [x3d-public] 3D wrong visualization
>
>
> Hi all,
> I'm visualizing some polygons in X3DOM and they are not correctly
> visualized.
>
> In InstantReality (black background) is correctly visualized, however, in
> X3DOM I get an incorrect visualization.
>
> Is there some solution?
>
> Thanks in advance
> Best regards
>
> <image001.jpg><image002.jpg>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140_______________________________________________
> X3dom-users mailing list
> X3dom-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x3dom-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160322/ccbf733d/attachment-0001.html>


More information about the x3d-public mailing list