• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tutorials on 3d + string

 
titus krijgsman
Greenhorn
Posts: 5
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hello all
i m new at javafx and i m looking for examples
of 3d and string manupulation code
i have a working geneticprogramming code in libertybasic
i want to rewrite it to javafx
i have writen an raytracer in freebasic
this i want to rewrite to
can i save a *.bmp from my screen to disc
for some animations i want to use realtime graphics
how do i create a lim on a avatar whit fx
 
L Foster
Ranch Hand
Posts: 185
10
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Titus,
I am glad to see others are interested in exploiting JavaFX 3D. I started to port a Java3D app to it, several months ago, and got sidetracked by pursuit of an unrelated certification. I made some progress in a fairly short time. But there was work to do: that conversion is not trivial.

http://docs.oracle.com/javafx/8/3d_graphics/sampleapp.htm

This app was pretty easy to get setup, and see it working. It is not a general molecular viewer or anything. It just shows a simplified water molecule. But it is annotated with comments, and a lot of the concepts are there.

Enjoy.
 
titus krijgsman
Greenhorn
Posts: 5
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@ l foster :
- thanks
- i font the same whit google "javafx 3d example"
i aready can understant some of it

but now on strings
i need the folowing

are sin() cos() tan() etc... in a math.java file or not

i orded a book about javafx . can't wait to code
 
L Foster
Ranch Hand
Posts: 185
10
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, when you mentioned strings, I thought you were referring to something specific to JavaFX, but it sounds more like general Java.

Some of that will be covered in java.lang.String. Lookup the javadocs for that.

The "left" and "right" functions, if I am interpreting those correctly, should be doable using String.substring(). Here's an example:



The rest appears to be covered in so-called "Primitive Wrapper" classes. Lookup java.lang.Double.

The "split" function looks like "split" from java.lang.String, too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic