Dear John (and All), I am looking for something out of Asymptote gallery. For example Asymptote output (bezier patches and verstex shaiding) used in a published work (not one about Asymptote). To convince people some feature is worth including in a public format I'd better show that there is demand for vertexcolored NURBS, not just that there is one tool that produces such obscure constructs. "Supply will create its own demand" is an argument, but demonstrating existing demand is better. Sincerely,...
Dear All, please, point me at examples of something like smoothelevation.asy from Asymptote gallery, mesh of Bezier patches with per-vertex colors, put to some real use, interactive use preferred. The reason: a convincing use case may help to push vertex colored NURBS into the next version of X3D standard, making it a better future output format for Asymptote (when, FSM willing, I'll have time to modify my 3D PDF output routines to produce X3D). I can find examples of meshes of Bezier, NURBS, or...
Dear John, it seems you are looking at developing your own graphics format "v3d", since none of the existing offers necessary features. X3D looks like "3D PDF done wright" - public format, free tools, including editors, web integration via WebGL-based viewers, support for NURBS, but has the same principal limitations: no vertex colors for bezier patches and AFAIK viewers pre-tessellate NURBS. But now X3D format is now being updated to a new version and it may be worth your time to join the discussion...
Martin, "which propietary format do you mean, the quasi-internal .asy one" - no, I mean not Asymptote input format, but Asymptote output format. "WebGL has the added advantage of not requiring everyone to install some specialized viewer (that may even be hard to get for some platforms)." - but on the other hands: 1) Now John has to make the viewer (in JS/WebGL code). As he had made his own OpenGL viewer originally. And he has to deal with platform chages himself, as he had to rewrite his OpenGL viewer...
Dear John, 1) Why some proprietery v3d file format? Did you evaluate extending X3D with just your node, bezier patch with vertex colors? X3D has NURBS (but without vertex colors) and some WebGL viewers like x3dom or X_ITE have support for it, although rendering seems to be done once. All other primitives you need are in X3D, I believe. 2) Where can I find AsyGL library source to try to understand how it works and evaluate the idea of makeing x3dom extension based on it? 3) Uphill battle of adding...
Dear John, "Maybe Asymptote's webgl output format will be a solution for those users (coming this summer)." what is the general design of the WebGL output routine: do you work with "raw" WebGL, or extend some existing JS library with routines to handle your beloved remeshing of NURBS? What about export in some editable 3D format. I believe I can hack together X3D export with resilts similar to 3D PDF output (no per-vertex color, no remeshing). But if you internalise exporting problems and start thinking...
Dear John, "Note that OpenGL 3D graphics is no longer supported under the legacy 32-bit Windows Asymptote build" BTW Apple marked OpenGL as depricated in latest Mac OS 10.14 (September 2018): "Deprecation of OpenGL Apps built using OpenGL will continue to run in macOS 10.14, but these legacy technologies are deprecated in macOS 10.14. Games and graphics-intensive apps that use OpenGL should now adopt Metal." Sincerely, Michail
As far as I understand, John sets a rather high standard of having a true vector browser, so that curves ant pathes are remeshed into segments and triangles when something happens in theviewer, upon zooming, for example. That prevents the authors from exporting some 3D model and relying on its existing web viewers. IFAIK there was not much detail on their design choices on this maillist: do they intend to extend some existing engine, like three.js, or implement all low-level suff theselves in order...
Dear John, I asked you at the time of 2.42 release what route are you taking: export pre-tessellated data (tringles, segments, dots) or export beziers and NURBS. You replied: Since we now have our own in-house renderer, I plan to pursue both routes. We have decided to develop a new vector format called v3d. For pre-tessellated data we can use an existing format. Any updates on your plans/progress? On one hand the news of native 3D support in new versions of generic tools like MS Word are popping...
Dear John, Since we now have our own in-house renderer, I plan to pursue both routes. We have decided to develop a new vector format called v3d. For pre-tessellated data we can use an existing format. Where is that renderer? Is is realtime? C++ or JS? Rendering NURBS to bitmap and tessllating to triangles look like different tasks. Is it going to do both? If you need a guinea pig for early tests - you can count on me. ;) Michail
Dear John, while you attention as at Asymptote, I repeat my question about 3D export. What route Asymptote will take 1) export pre-tessellated data (tringles, segments, dots) - PRO: many possible formats, well-tested viewers, someties already built-in, ready editing tools for manual fine-tuning and combining CONTRA: you used to be agains it, since tesselation you considered to be the task of the viewer 2) export beziers and NURBS PRO: in theory the viewer can render better bitmap than from pre-tessllated...
Dear John, I'd like to repeat the most important of the Asymptote exporting questions: are you still adamnt that Asymptote should export bezier patches and NURBS for a viewer to render? Doing tessellation internally and exporting just triangles opens up all the 3D format world, allows to use Asymptote output out of the TeX world, where 3D enabling of 2D text formats and tools is picking up: MS Word is getting embedded 3D viewer just now, Apple iBooks have 3D model support etc. Plus having Asymptote...
Dear John, GLTF does not support NURBS, Bezier or even plane quads. X3D has NURBS, but that is an exotic feature unlikely to be heavy tested by viewer developers. There are way to get vertex-colored Bezier patches in X3D but to simulate vertex color with textures. Since creating a 2x2 texture for any patch may result in hitting max texture number, viability of this approach requires future evaluation. Formats and tools used for real-time rendering are likely to deal with pretessellated data. How...
Dear John, "It will soon also support WebGL output." - is there any progress? As far as I remember my work on 3D PDF output, many problems were caused by Asymptote being designed around direct OpenGL drawing, so "capturing" its output and converting it back to a 3D model was a pain. Did you evaluate the idea of producing Asymptote output in some Web-friendly 3D format like X3D, gltf etc., so that there will be a choice of viewers, editors and converters? The lack of bezier/nurbs support in popular...
I'd suggest to look at IDTF examples.
I have implemented and commited media9 substitute to ConTeXt (look for -u3d. in ConTeX...
Hello John, you wrote: The next new feature, coming soon, is WebGL (HTML5) support...
I have only a general idea: track how the sample viewer works, going backwards from...
AFAIK Adobe 3D PDF viewer does not support 1D textures. May be there will be effect...
I have given up on 1D textures. It seems they are not supported in Adobe 3D PDF viewer....
It will take some time to put into shippable form. Drawbacks - my PRC code does not...
Try my Cmake repack from http://www2.iaas.msu.ru/tmp/u3d/ . As to details - sorry,...
MathGL 1 has older version of U3D code compared to what can be found at http://www2.iaas.msu.ru/tmp/u3d/...
Dear Kimmi, you wrote: you're right, I missed this one, sorry for that. I will try...
As far as I remember, the code for geometric information just is not there. You'd...
Dear All, now Asymptote relies on 3D PDF (or OpenGL) for interactive 3D output. But...
I have built a Mac viewer long ago, but dropped the idea, since the API used was...
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/U3DElements.pdf It...
http://www2.iaas.msu.ru/tmp/u3d/cloudq.pdf It has 3D JavaScript (modified s2plot.js)...
I worked only at IDTF level and had the Adobe 3D viewer as my target. IMHO that 3D...
Sorry, I can not help here much. My only interest was in IDTF=>U3D conversion. I...
Saved by what software?
I'd suggest to use my repack and CMake. I repackaged it for CMake since I disliked...
X3D - problem with billboarded cube
You wrote: the vertical "justify" is simply not implemented yet. Please, put that...
X3D FontStyle justify - no support for vertical alignment of text
I did many fixes to the HTML so the HTML -> C++ code would work right. Why did not...
I did many fixes to the HTML so the HTML -> C++ code would work right. Why did not...
Dear Alexis, as far as I can understand, the "base" part of the program was produced...
node.c++ - the increment in the "for" loop looks wrong. May be ++max has to be ++idx?...
Is there any sample code for creating/exporting a scene with some primitives? May...
Dear All, ScienceDirect online library now supports U3D models in its online publications,...
Keep in mind that Adobe U3D viewer has problems with vertex colors (transparency...
I am not sure about U3D, but for IDTF I vote "no". IMHO PRC does not allow that (separate...
Dear Kimmi, the problem I complain about was not affected by the release. Let me...
Look at the code at http://www2.iaas.msu.ru/tmp/u3d/rgl/ You can find some basic...
Dear Chris, at this moment I am the most active developer of Asymptote PRC part....
Dear Kimmi, given that on 2014-02-28 you wrote: We are planing to release a new version...
If you do not use slist - there is no reason to include its header file.
As to slist - that was premature optimisation. Just use list unconditionally. I have...
If the source of the problem is not a command-line typo (-tcq > 1000 looks fishy),...
If the source of the problem is not command-line typo (-tcq > 1000 looks fishy),...
Mobile Adobe Reader does not support 3D PDF. There is 3D PDF Reader for IOS from...
It must be already on sf as part of MathGL project. Here it is - https://sourcef...
I'll have time to hunt for bugs this weekend. Do you have Windows 7 32 or 64 bit?...
X Error of failed request: GLXBadDrawable Looks like drawing error. Try to disable...
Try commenting out X3D export in vtkU3DExporterTest sources, it crashed for me recently....