Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
mickymike
mickymike's Profile
5
Posts
2
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
It's posible to play an animated 3D model in Processing?
[1 Reply]
09-Jul-2013 04:40 AM
Forum:
General Discussion
In other topic I asked how to load a 3D model. Now I need to play an animated 3D model (previously animated in 3ds max).
Some idea?
Thanks!
NyARToolkit: How to load a custom 3D model?
[4 Replies]
08-Jul-2013 08:07 AM
Forum:
Contributed Library Questions
Hi friends.
I'm dealing with NyARToolkit. I need to load a custom 3d model, and use it as a part of the AR environment.
Which library can I use to do it?
Can you recommend me some tutorial?
Thanks
Using Processing with FlashDevelop
[0 Replies]
18-Jun-2011 11:53 AM
Forum:
Integration and Hardware
Hi!
I'm a AS3 developer, and
I'm
used to work with
FlashDevelop
,
so I
like to set up
Processing
also
on this platform,
which allows me to
do things
quickly and easily.
There is some
possibility of using
Processing and
FlashDevelop
together?
Thanks!
Passing an array into a method (Resolved)
[2 Replies]
18-Jun-2011 10:11 AM
Forum:
Programming Questions
Hi there
I'm trying to pass an array into a method by the follow way, but as result Processing brings an exception.
Any help? THANKS!
void myMethod( array _myArray ){
// Here I manage the array
}
or
void myMethod( Array _myArray ){
// Here I manage the array
}
or
void myMethod( [] _myArray ){
// Here I manage the array
}
Flag waving simulation
[0 Replies]
13-Jun-2011 04:47 AM
Forum:
Programming Questions
Hi there,
I have a pattern of rectangles, ordered in my screen as a grid.
I need to make each column of this grid escalates sequentially for a waving flag effect.
Each column has assigned a start frame, I need to know how to set the "initial frame" to achieve the effect of flag waving.
Any idea?
THANKS!
Code:
int hRects;
int vRects;
int totalRects;
int currentFrame = 0;
CustomRect[] rects;
void setup() {
frameRate(25);
size(800,600);
// Setup Rects
hRects = width / 30;
vRects = height / 30;
totalRects = hRects * vRects;
rects = new CustomRect[totalRects];
// Init Rects
addRects();
}
void draw() {
background(0);
// Exec rects ------------------------------
for (int i = 0; i < rects.length; i++ ) {
CustomRect rect = rects[i];
rect.drawBg(currentFrame);
}
currentFrame++;
}
void addRects(){
int hStep = width/hRects;
int vStep = height/vRects;
int xCounter = 0;
int yCounter = 0;
int xPos = hStep/2;
int yPos = vStep/2;
int initialFrame = 0;
// Add rects
for (int i = 0; i < totalRects; i++ ) {
CustomRect rect = new CustomRect();
rect.setName("RECT_" + i);
rect.init(xPos, yPos);
rects[i] = rect;
rect.setInitialFrame( ??? );// <---- i need to know how value pass here!!!
if(xCounter == hRects-1){
xPos = vStep/2;
yPos = yPos + vStep;
xCounter = 0;
yCounter++;
} else {
xPos = xPos + hStep;
xCounter++;
}
}
}
«Prev
Next »
Moderate user : mickymike
Forum