Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Zoho Docs
Google Docs
Each Attachment size should not exceed 1MB.
Max no of attachments : 0
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
New to this Portal?
Click on Join Now to Sign Up
Join Now
Help
Feedback
Sign In
Processing Forum
Recent Topics
All Forums
Search All
Tags
Author
Advanced Search
Search
New Topic
Move this topic
Forum :
Share your Work
Programming Questions
Core Library Questions
Contributed Library Questions
Android Processing
Processing with Other Languages
Integration and Hardware
Library and Tool Development
Events and Opportunities
General Discussion
Sub forum :
Move this topic
Cancel
Android Processing
ikillbombs
android hangs after using texture
in
Android Processing
•
2 years ago
Hi,
my android phone crashes after using an texture.
Here's my code:
PImage img;
void setup() {
size(screenWidth, screenHeight,A3D);
smooth();
noStroke();
img = loadImage("texture.png");
}
void draw() {
background(0);
lights();
beginShape();
texture(img);
translate(width/2, height/2,-200);
rotateY(frameCount*PI/200);
box(200);
endShape();
}
1
Reply
Replies(1)
andres
Re: android hangs after using texture
2 years ago
The box() function doesn't need to the beginShape/endShape calls.
Leave a comment on andres's reply
Change topic type
Topic Type :
Discussions
Questions
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to ikillbombs's question
Top
Reply
{"z4137840":[25080000000959049],"z4611693":[25080000000960144]}
Statistics
1
Replies
499
Views
0
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
Android Live Wallpapers
Sound Libraries
build.xml obsolete - help needed
Android + Processing in Eclipse
Presenting to Android phone from Ec...