Comments (4)
@j-c-cook Of those other programs, the only one that I have the source to is ViewHT
. See viewht.c
in the src
directory. It's not been a regular part of the build and has only been intermittently built. As for the others, those may be lost. The oldest version of the source code I have access to doesn't include any of those programs.
I'm not sure how helpful most of those programs would be even if we had the source, but I guess the answer is "yes, but possibly not readily":
ViewGr
: There are a number of viewer scripts (SketchUp and Blender) and programs around, they just don't happen to live here. The scripts could be pulled in here from the various repos that they currently live, the primary reason that hasn't happened is that someone would need to verify that they still work.ViewEm
: The main program run withemit=1
in the input will write out grey results, so the program could be reconstituted from what we have.ViewHT
:viewht.c
needs to be added to the build, potentially debugged, and ideally there'd be some testing added to make sure it still works.VS3fix
: I'm not sure I'd characterize the description of what this one does as "fixing" the input, so I'd need to be convinced that this one is a good idea. I'd think that the solution to having non-planar quads would be to... make them planar?VFbintxt
: The main program run without=0
in the input will write text outputs, so the program could be reconstituted from what we have.
The ranking in terms of difficulty I'd put on them is: 2 and 5 tied for hardest, 3 next, and then 1 is the easiest.
from view3d.
For the ViewGr
, I was thinking something simple. A made an interactive plot for the cube.zip. (Its an html interactive, github doesn't allow html format so I zipped it. I have found that the html files render quicker in Chrome than Firefox.) I also created a static plot for the cube, vs3_plot.pdf. An additional interactive plot with more complex geometry is the html in Sauna.zip.
I like the idea of making use of the C api from a viewer script like SketchUp to render the shapes described in the vs3 files.
I'll come back to ViewGr
and then possibly other auxiliary programs when I can find time. Thanks.
from view3d.
Nice visualizations, thanks for sharing. If you're most interested in viewing, then the Sketchup plugin is here:
https://github.com/jasondegraw/View3D-SketchUp
Since SketchUp isn't as free as it used to be, I haven't used it in a while. The Blender plugin is here:
https://github.com/NREL/View3D-3.2
Since there's no need for calculations, my approach previously has been to leave the C out of the viewing equation and just write up code to parse the input.
In case anyone is wondering, yes, there are way too many separate repos. I need to unify them.
from view3d.
The code I wrote to read a vs3 file and then visualize it is located in the viewgr.py module and have provided an example using your cube.vs3 file.
I thought future development could go a couple of ways forward:
- Create a Python package with the name
View3D
that contains wrappers that provides for direct function access from Python itself. There could be modules that specifically handle access to different auxiliary functions, and in some cases (like possibly ViewGr) the code could be written in Python, e.g.ViewGr
. I assume this option would at some point include further development of this library, given that not all of the auxiliary methods are present. - The development could all be done in Clang. In addition to the current executable,
View3D
, that is created upon build, other auxiliary programs could have their own executable's.
I think both options have their own pros and cons.
from view3d.
Related Issues (5)
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 view3d.