|
Evan Balster
|
 |
« Reply #1515 on: February 01, 2011, 12:57:05 PM » |
|
That (and the crappiness of other free systems) is what makes me feel like making a free system.
|
|
|
|
|
Logged
|
|
|
|
|
mcc
|
 |
« Reply #1516 on: February 01, 2011, 08:10:05 PM » |
|
Cellulose I'd be very curious to see that. I wrote a sort of chain-audio system of this sort but it's very ad hoc and I question its performance... Wrote a wonderful shader. Works great on Linux, works great on Windows, does mysterious things on Mac.
Oh joy.
Out of curiosity, what kind of mysterious things?
|
|
|
|
|
Logged
|
|
|
|
|
Average Software
|
 |
« Reply #1517 on: February 01, 2011, 08:43:47 PM » |
|
Cellulose I'd be very curious to see that. I wrote a sort of chain-audio system of this sort but it's very ad hoc and I question its performance... Wrote a wonderful shader. Works great on Linux, works great on Windows, does mysterious things on Mac.
Oh joy.
Out of curiosity, what kind of mysterious things? Odd effects occuring outside the primitive region. Turned out I was passing the wrong value for a sampler ID. I suspect this put OpenGL into some kind of "undefined" state which Linux and Windows just happened to interpret in my favor, while the Mac driver didn't. Now that it's fixed, I'm glad it happened, I might not have caught that.
|
|
|
|
|
Logged
|
|
|
|
|
Evan Balster
|
 |
« Reply #1518 on: February 01, 2011, 09:07:59 PM » |
|
I've had similar experience with OpenGL and undefined behavior. It's a bitch when it works right most of the time. (Had a bug on 32-bit systems that resulted from evaluating 2<<32 and storing it to a GLuint  )
|
|
|
|
|
Logged
|
|
|
|
|
Glaiel-Gamer
|
 |
« Reply #1519 on: February 01, 2011, 10:15:08 PM » |
|
Cellulose I'd be very curious to see that. I wrote a sort of chain-audio system of this sort but it's very ad hoc and I question its performance... Wrote a wonderful shader. Works great on Linux, works great on Windows, does mysterious things on Mac.
Oh joy.
Out of curiosity, what kind of mysterious things? Odd effects occuring outside the primitive region. Turned out I was passing the wrong value for a sampler ID. I suspect this put OpenGL into some kind of "undefined" state which Linux and Windows just happened to interpret in my favor, while the Mac driver didn't. Now that it's fixed, I'm glad it happened, I might not have caught that. is it a windows/mac thing or an nvidia/ati thing? Cause I have far more differences between ati and nvidia in regards to undefined behavior than with windows/mac
|
|
|
|
|
Logged
|
|
|
|
|
Player Ʒ
|
 |
« Reply #1520 on: February 02, 2011, 02:39:41 AM » |
|
Mouse.hide(); cur.startDrag(true); Why does this not work in Flash CS4? I have a movie clip with the instance name of cur and everything!
|
|
|
|
|
Logged
|
 > Empty
|
|
|
|
Average Software
|
 |
« Reply #1521 on: February 02, 2011, 05:44:32 AM » |
|
Cellulose I'd be very curious to see that. I wrote a sort of chain-audio system of this sort but it's very ad hoc and I question its performance... Wrote a wonderful shader. Works great on Linux, works great on Windows, does mysterious things on Mac.
Oh joy.
Out of curiosity, what kind of mysterious things? Odd effects occuring outside the primitive region. Turned out I was passing the wrong value for a sampler ID. I suspect this put OpenGL into some kind of "undefined" state which Linux and Windows just happened to interpret in my favor, while the Mac driver didn't. Now that it's fixed, I'm glad it happened, I might not have caught that. is it a windows/mac thing or an nvidia/ati thing? Cause I have far more differences between ati and nvidia in regards to undefined behavior than with windows/mac All the cards involved are nVidia, and I have Windows/Mac on the same machine, so the hardware is identical for those two. I suspect it must be an OS thing.
|
|
|
|
|
Logged
|
|
|
|
|
st33d
Guest
|
 |
« Reply #1522 on: February 02, 2011, 07:03:45 AM » |
|
Mouse.hide(); cur.startDrag(true); Why does this not work in Flash CS4? I have a movie clip with the instance name of cur and everything! protip: trace(cur); There's always the chance you're trying to manipulate an object that's not in the same scope as the code.
|
|
|
|
|
Logged
|
|
|
|
|
mcc
|
 |
« Reply #1523 on: February 02, 2011, 10:35:10 PM » |
|
 All this time and I've still never got the hang of drawing rectangles.EDIT: Problem fixed: (c+(((d+(c/2)*2+(c+1)%2)/2)%2))%4 ...I have really got to stop deriving formulas by trial and error.
|
|
|
|
« Last Edit: February 02, 2011, 11:02:42 PM by mcc »
|
Logged
|
|
|
|
|
Kekskiller
Guest
|
 |
« Reply #1524 on: February 03, 2011, 04:08:14 AM » |
|
EDIT: Problem fixed: (c+(((d+(c/2)*2+(c+1)%2)/2)%2))%4 Wtf is this formula for? Geez
|
|
|
|
|
Logged
|
|
|
|
|
Player Ʒ
|
 |
« Reply #1525 on: February 03, 2011, 04:28:27 AM » |
|
Mouse.hide(); cur.startDrag(true); Why does this not work in Flash CS4? I have a movie clip with the instance name of cur and everything! protip: trace(cur); There's always the chance you're trying to manipulate an object that's not in the same scope as the code. Just had to add a trace at the end (with a message that it works) and BANG! it worked. AS3 just wants to mess with my head. Thank you very much. It works until it's saved as an *.FLA file. Any reason why?
|
|
|
|
« Last Edit: February 03, 2011, 05:12:44 AM by Player 3 »
|
Logged
|
 > Empty
|
|
|
|
st33d
Guest
|
 |
« Reply #1526 on: February 03, 2011, 08:30:37 AM » |
|
It's unlikely AS3.
It's more likely CS4. It randomly deletes things during the compile process. This didn't happen with the other Flash IDEs.
|
|
|
|
|
Logged
|
|
|
|
|
bateleur
|
 |
« Reply #1527 on: February 03, 2011, 08:52:59 AM » |
|
It's more likely CS4. It randomly deletes things during the compile process. This didn't happen with the other Flash IDEs. @Player 3> Clarification: It's not actually random. For example, I've done (at least) thousands of compile runs with CS4 and never had any corruption of any kind. Also, anecdotally, corruptions seem to happen more with very large or complex FLAs. Try your code in a small test FLA (a clean one, not a copy of your main project with stuff stripped out) and if it still doesn't work it's almost certainly nothing to do with CS4. (Also, create a new thread for this if you want more detailed help.)
|
|
|
|
|
Logged
|
|
|
|
|
Glaiel-Gamer
|
 |
« Reply #1528 on: February 03, 2011, 10:59:44 AM » |
|
file->save and compact
in flash that command has saved me a headache a few times when its acting retarded
|
|
|
|
|
Logged
|
|
|
|
|
bengrue
|
 |
« Reply #1529 on: February 03, 2011, 12:35:26 PM » |
|
All this time and I've still never got the hang of drawing rectangles.
You better check yourself before you Rect() yourself, mcc.
|
|
|
|
|
Logged
|
|
|
|
|