Posts: 10,520
Joined: Sep 2003
Reputation:
10
Gamester17
Team-XBMC Forum Moderator
Posts: 10,520
reminder: last submission date for xbmc vis contest is this sunday, so far three entries has been submitted; fountain, saville and g-force
Posts: 17
Joined: Jan 2004
Reputation:
0
so are they available for download!!! if they are where??
Posts: 22
Joined: Feb 2004
Reputation:
0
saturn_one: i've many ideas with gforce, but some trouble in reallife... what i want to implement when i've left some time: beside an fps-display some possibility to display the current script-names. because there are scripts that don't work right. another idea: you can say the plugin the actual script-combination is good or bad and the plugin saves the infos and selects presets based on this...
dinomight: post your problems, sometimes the problems are not in the plugin itself, but in the combination xbmc<->plugin because the plugin uses functions not used (and tested) until now..
Posts: 88
Joined: Jan 2004
Reputation:
2
MrC
Team-XBMC Developer
Posts: 88
looking at the code that is in cvs at the minute it looks like you are creating a vertexbuffer during every render call but are only releasing it in the start and stop functions.
you probably don't want to be creating a vertex buffer every frame and memcpying your data into it anyway. either create the vertexbuffer once at the start and write you data directly into or use drawprimitiveup.
Posts: 761
Joined: Dec 2003
Reputation:
0
Butcher
Retired Developer
Posts: 761
you definitely do no want to be create a vertex buffer each frame. you're better off creating a vb and locking it then updating geometry than using drawprimitiveup though, especially if your data changes less than once per frame.
something else to consider - when updating vertex (and texture) data, try to write every byte in the buffer sequentially, even if they haven't changed - writing every byte is much faster than say every other byte or every other float or such due to the way write combining memory works.
Posts: 22
Joined: Apr 2004
Reputation:
0
hey guys,
i wanted to let you guys know that i have update the starburst plugin (i uploaded it to sourceforge). it is now version 0.75 which includes some major changes from the first iteration. i have fixed the mem bugs (thanks to the guys in this post for the help) (i have run it successfully for over 8 hours without a crash). i have also added the ability to configure this vis via an xml file. i hope you guys enjoy. look forward to version 1.0 (which should have 3d if i can figure it out).
enjoy,
dylan