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

Don Brutzman brutzman at nps.edu
Tue Mar 22 17:29:09 PDT 2016


Hi Cris, I modified your original scene a little bit to be regular X3D.

- id attributes renamed DEF, only allowed within Scene.
- cleaned up doctype, schema information
- you had 2 instances of WallSurface-Material-2778 so renamed second one

Checked validation using X3D-Edit, can also use X3D Validator (when our finicky server is running)

InstantReality showed it (after View all) but hard to navigate

Xj3D (view all) looked fine

Too hard to navigate in BSContact and X3DOM



On 3/22/2016 4:14 AM, Cris Lacumba wrote:
>
> 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 <mailto: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 <mailto: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]*On Behalf Of*Roy Walmsley
>>     *Sent:*Wednesday, December 02, 2015 6:23 PM
>>     *To:*'Cris Lacumba'; 'x3dom mlist';x3d-public at web3d.org <mailto: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]*On Behalf Of*Cris Lacumba
>>     *Sent:*02 December 2015 11:44
>>     *To:*x3dom mlist;x3d-public at web3d.org <mailto: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 <mailto:X3dom-users at lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/x3dom-users
>
>
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExampleXj3D.png
Type: image/png
Size: 12566 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160322/b996a41b/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.x3d
Type: model/x3d+xml
Size: 10300 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160322/b996a41b/attachment-0001.x3d>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.xhtml
Type: application/xhtml+xml
Size: 21152 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160322/b996a41b/attachment-0001.xhtml>


More information about the x3d-public mailing list