Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Texturing a matrix

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im new to java programing and was wondering what the method was for texturing a matrix I would like to use textures that i have created but im not sure how i do this. do i abstract from a package or something. My code is like this


//CODE
public class matrix estends java3d() { //CREATE CLASS
public void create3dworldobject() { //CREATE 3D WORLD
matrix matrix = new 3dmeshobject();
Matrix.set(3d); //MAKE MATRIX 3D
matrix.setperamiters(WIDTH_HEIGHT_DEPTH); //PREPARE PERAMITERS
WIDTH = X; //SET VARIBLES TO MAKE EASY
HEIGHT = Y;
DEPTH = Z;
x = 200; SET DEFAULT SIZE OF MATRIX
y = 10;
z = 100;


matrix.setdefaultsize(int, x,y,z);
System.setsizeformat(centermeteres);
final int centemers.equals final peramiters(mesurments);
system.setrendertopoint(119.true);
atpoint(x =10 z = 25);
atpoints.specified(y = - 40);
system.setmatrixlocationOnscreen(y = 4, x = 100, z = 2);
//abstract image of graveyard and place on matrix


I would like to place the image so that the dip is near the center. how do i get the image to show on matrix please. hope this code helps someone
 
Ranch Hand
Posts: 488
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no quick answer for this question. Here is a link to a chapter in a book that could help you out. I would recommend buying the book as it very good and you are basically getting a chapter for free. Also, this chapter is the draft version, the book is even more complete.

Texturing a Matrix

Hope that helps you, GL!
 
Yeah, but is it art? What do you think tiny ad?
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic