birdasaur / fxyzlib Goto Github PK
View Code? Open in Web Editor NEWJavaFX 3D Visualization and Component Library
License: GNU General Public License v3.0
JavaFX 3D Visualization and Component Library
License: GNU General Public License v3.0
I found that the PolyLine3d is not a real 3D line. It disappears when viewed from certain angles.
Please fix as suggested here: http://netzwerg.ch/blog/2015/03/22/javafx-3d-line/
Probably not the best way to do this but let's use this "issue" to allow people to comment on their projects and use cases for the FXyz library. We are always interested to see how the work we and others have done is making other's easier.
Birdasaur.
This great work, already in my desktop project. Thanks.
And now I'm trying to keep moving on android.
There is some points I need to considering?
besides, as you known, the code convenient maybe colorful:)
so there is some advices or checkstyle or eclipse formatter?
Thanks again
I see that ScatterPlot
takes x, y, and z coordinates like so:
ArrayList<Double> dataX = new ArrayList<>();
ArrayList<Double> dataY = new ArrayList<>();
ArrayList<Double> dataZ = new ArrayList<>();
// ... initialize arrrays
scatterPlot.setXYZData(dataX, dataY, dataZ);
It would be very handy to have a method that takes a 4th argument that is a List<Color>
which sets the color of each point in the scatter plot.
ArrayList<Double> dataX = new ArrayList<>();
ArrayList<Double> dataY = new ArrayList<>();
ArrayList<Double> dataZ = new ArrayList<>();
ArrayList<Color> colors = new ArrayList<>();
// ... initialize arrrays
scatterPlot.setXYZData(dataX, dataY, dataZ, colors);
p.s. When can we get hold of the source code!?
In Vector3D class (geometry), public Vector3D add(Vector3D v) might have a typo (bug). Please take a look.
JCSG master branch changed.
there is a patch for TriangulatedMesh
diff --git a/src/org/fxyz/shapes/primitives/TriangulatedMesh.java b/src/org/fxyz/shapes/primitives/TriangulatedMesh.java
index 7caf76b..6370be7 100644
--- a/src/org/fxyz/shapes/primitives/TriangulatedMesh.java
+++ b/src/org/fxyz/shapes/primitives/TriangulatedMesh.java
@@ -42,9 +42,9 @@ import org.fxyz.geometry.Face3;
import org.fxyz.geometry.Point3D;
import org.fxyz.utils.FloatCollector;
import org.poly2tri.Poly2Tri;
-import org.poly2tri.polygon.Polygon;
-import org.poly2tri.polygon.PolygonPoint;
-import org.poly2tri.polygon.PolygonSet;
+import org.poly2tri.geometry.polygon.Polygon;
+import org.poly2tri.geometry.polygon.PolygonPoint;
+import org.poly2tri.geometry.polygon.PolygonSet;
import org.poly2tri.triangulation.TriangulationPoint;
import org.poly2tri.triangulation.delaunay.DelaunayTriangle;
in the demo of FX3DAndroid, https://github.com/lyrachord/FX3DAndroid
I extract a interface
https://github.com/lyrachord/FX3DAndroid/blob/master/src/main/java/org/fxyz/utils/ColorPalette.java
origin ColorPalette change to DefaultColorPalette
I almost fully ported the AGG(http://antigrain.com/) project in pure java. From that work, I like the 'Color Coordinate', the Palette in FXyz some like.
Is it worth making Palette more functionality?
Nothing in the project seems to specify a license, which makes using the project difficult for some.
I found the CapsuleTest have a propblem:
change the loop max to 1, to keep just one Capsule object in the group,
and change the scene background to white color, because the problem is just black
Then the only capsule object will be rendered by only black color.
so strange!
Any idea? or I missed something?
Thanks
Hi,
Is there any plan have FXyz jars deployed to a maven repository (e.g. Maven Central?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.