Comments (7)
Yes, the notation works and it also seems to work in docs but not in the main editor
The example fails as soon as long as box is uncommented with
render.js:266 Cannot read property 'isBufferGeometry' of null
Comment the box out and everything works.
Also the script works if you copy it over to https://after12am.github.io/eisenscript-docs/build/docs/reference-primitives
So I guess it is a deployment problem.
from eisenscript.
@kronpano fix it. Please check it out!
https://after12am.github.io/eisenscript-editor/#B/KynKTMxLz0mNNtABQmtDMGmgZ6oDxbEA
from eisenscript.
It works - yes - but all the numbers need to be positive
A triangle like
triangle[-1,0,1;0,1,0;1,0,1]
is not accepted because of the -1
I usually try to define my triangles around 0,0,0 so rotations are easier to handle.
Also - and yes - that is also the case in StructureSynth - the triangle is only visible from one side. That means you need to define always 2 triangles - one clockwise and one counter clockwise to make sure it can be seen from both sides.
Might be a nice touch to just make it visible from both sides??
from eisenscript.
Ok! I am in travel now. So I will fix it until this weekend.
from eisenscript.
It works - yes - but all the numbers need to be positive
A triangle like
triangle[-1,0,1;0,1,0;1,0,1]
is not accepted because of the -1
fixed it!
https://after12am.github.io/eisenscript-editor/#B/KynKTMxLz0mN1jXUMdAxtAZiHQNrMDsWAA==
Might be a nice touch to just make it visible from both sides??
When using transparent, you can render both sides.
https://after12am.github.io/eisenscript-editor/#B/q1ZIVNCztFSoVSgpykzMS89JjdY11DHQMbQGYh0DazA7FgA=
When not using transparent, you also need to define always 2 triangles.
Because the rendering way is different. Performance is a priority when transparency is not used.
from eisenscript.
When not using transparent, you also need to define always 2 triangles.
Because the rendering way is different. Performance is a priority when transparency is not used.
Fixed it. Now you specify only one side.
https://after12am.github.io/eisenscript-editor/#B/KynKTMxLz0mNNtABQmtDMGmgZ6oDxbEA
from eisenscript.
Wow! You found it!
from eisenscript.
Related Issues (20)
- triflake example not working - whitebox is interpreted as color HOT 1
- Triangle rotation is different in StructureSynth and Eisenscript HOT 2
- triangle not working properly in editor but OK in docs HOT 1
- Some sort of rounding errors???? HOT 7
- Live demo with squashed spheres and torus HOT 5
- Starter tutorial for Noob HOT 5
- CSG and render times HOT 2
- Scaling affects rotation ? HOT 7
- add mouse control of primitives on eisenscript editor HOT 1
- change materialType to one makes primitives more brilliant HOT 1
- Are you still working on it?? HOT 10
- mirroring not implemented HOT 10
- build an uncompressed eisenscript.js HOT 7
- implement to use varname in a blend feature
- toggle wireframe checkbox like update checkbox on eisenscript-editor HOT 1
- Not an issue - more of a communication HOT 11
- parse error
- implement function to toggle animation HOT 1
- Add export function to eisenscript-editor HOT 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 eisenscript.